[llvm-commits] [llvm] r141859 - in /llvm/trunk: lib/Target/X86/X86FrameLowering.cpp test/CodeGen/X86/segmented-stacks.ll

Duncan Sands baldrick at free.fr
Fri Oct 14 00:48:29 PDT 2011


Hi Sanjoy,

>> I don't think isel is right place to implement this kind of low level optimization.
>
> Does it make sense to put it in a separate pass and add it to the pass
> manager in X86TargetMachine::addPreEmitPass?

rather than having two blocks, maybe you can invent a fake instruction that
expands out to this instruction sequence?

Ciao, Duncan.



More information about the llvm-commits mailing list