[llvm-commits] [llvm] r104640 - /llvm/trunk/lib/CodeGen/StackSlotColoring.cpp

Bill Wendling isanbard at gmail.com
Tue May 25 15:02:17 PDT 2010


On May 25, 2010, at 2:56 PM, Dale Johannesen wrote:

> On May 25, 2010, at 2:44 PMPDT, Bill Wendling wrote:
>> 
>> +/// CheckForSetJmpCall - Return true if there's a call to setjmp/ 
>> sigsetjmp in
>> +/// this function.
>> +bool StackSlotColoring::CheckForSetJmpCall(const MachineFunction  
>> &MF) {
>> +  const Function *F = MF.getFunction();
> 
> Should we figure this out once and set a bit in the function?  There  
> are other optimization phases that need to know this.
> 
Maybe...though it could get messy to keep it up-to-date if a setjmp/sigsetjmp function is removed or added.

-bw





More information about the llvm-commits mailing list