[PATCH] D21561: [IPRA] Set callee saved registers to none for local function when IPRA is enabled.
Matthias Braun via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 21 14:02:39 PDT 2016
MatzeB added inline comments.
================
Comment at: include/llvm/Target/TargetFrameLowering.h:21-22
@@ -20,2 +20,4 @@
+extern llvm::cl::opt<bool> UseIPRA;
+
namespace llvm {
----------------
This thing is defined TargetPassConfig.cpp so I would rather expect the declaration in TargetPassConfig.h
================
Comment at: test/CodeGen/X86/ipra-local-linkage.ll:8
@@ +7,3 @@
+ call void @foo()
+ ret void
+}
----------------
Do you actually need the nounwind attribute here, I would assume you can just remove it.
http://reviews.llvm.org/D21561
More information about the llvm-commits
mailing list