search for: placecsrspillsandrestor

Displaying 3 results from an estimated 3 matches for "placecsrspillsandrestor".

2009 May 13
0
[LLVMdev] MSVC compile error with trunk
...virtual bool __thiscall llvm::PEI::runOnMachineFunction(class llvm::MachineFunction &)" (?runOnMachineFunction at PEI@llvm@@UAE_NAAVMachineFunction at 2@@Z) 32>LLVMCodeGen.lib(PrologEpilogInserter.obj) : error LNK2019: unresolved external symbol "private: void __thiscall llvm::PEI::placeCSRSpillsAndRestores(class llvm::MachineFunction &)" (?placeCSRSpillsAndRestores at PEI@llvm@@AAEXAAVMachineFunction at 2@@Z) referenced in function "public: virtual bool __thiscall llvm::PEI::runOnMachineFunction(class llvm::MachineFunction &)" (?runOnMachineFunction at PEI@llvm@@UAE_NAAVMachi...
2009 May 13
3
[LLVMdev] MSVC compile error with trunk
Does not seem to be a straight error with LLVM itself, but rather the tools, linking issues, here are the errors: Opt: 30> Creating library R:\SDKs\llvm\trunk_VC8_building\lib\Debug\opt.lib and object R:\SDKs\llvm\trunk_VC8_building\lib\Debug\opt.exp 30>LLVMScalarOpts.lib(IndVarSimplify.obj) : error LNK2019: unresolved external symbol "public: bool __thiscall
2013 Aug 01
2
[LLVMdev] can i avoid saving CSRs for functions with noreturn
...h is generic ? diff --git a/lib/CodeGen/PrologEpilogInserter.cpp b/lib/CodeGen/PrologEpilogInserter.cpp index c791ffb..f19b47a 100644 --- a/lib/CodeGen/PrologEpilogInserter.cpp +++ b/lib/CodeGen/PrologEpilogInserter.cpp @@ -96,7 +96,7 @@ bool PEI::runOnMachineFunction(MachineFunction &Fn) { placeCSRSpillsAndRestores(Fn); // Add the code to save and restore the callee saved registers - if (!F->hasFnAttr(Attribute::Naked)) + if (!F->hasFnAttr(Attribute::Naked) && !F->hasFnAttr(Attribute::NoReturn)) insertCSRSpillsAndRestores(Fn); // Allow the target machine to make final modific...