Skip to content

Commit f7370ed

Browse files
fixup! [NFC][LLVM] Refactor Autoupgrade function attributes from Module attributes.
1 parent 36544d9 commit f7370ed

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/lib/IR/AutoUpgrade.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5203,7 +5203,8 @@ void llvm::CopyModuleAttrToFunctions(Module &M) {
52035203
StringRef GCSValue =
52045204
isModuleAttributeSet(M, "guarded-control-stack") ? "true" : "false";
52055205
StringRef SignKeyValue =
5206-
isModuleAttributeSet(M, "sign-return-address-with-bkey") ? "b_key" : "a_key";
5206+
isModuleAttributeSet(M, "sign-return-address-with-bkey") ? "b_key"
5207+
: "a_key";
52075208

52085209
for (Function &F : M.getFunctionList()) {
52095210
if (F.isDeclaration())

0 commit comments

Comments
 (0)