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

Evan Cheng evan.cheng at apple.com
Tue May 25 16:46:18 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.

I agree. This seems like something that can happen much earlier during isel.

Evan

> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list