[LLVMdev] Probably FAQ: can you insert BRCONDs during TargetLowering::LowerOperation?
Scott Michel
scottm at aero.org
Wed Jan 7 09:21:18 PST 2009
Chris:
It occurred to me this morning that maybe the general solution to
this particular type of problem is a custom/target-dependent DAG
inserter pass, analogous to target lowering and DAG legalization. I'm
not sure if this pass happens before or after legalization. Worth
considering?
I suppose the best way to discuss this is to just write the code.
However, some preliminary discussion is probably worthwhile to make
sure that a target-dependent DAG inserter pass is invoked in the
right place in the existing pass stream.
-scooter
On Jan 7, 2009, at 12:18 AM, Chris Lattner wrote:
>
> On Jan 6, 2009, at 11:37 PM, Scott Michel wrote:
>
>> Chris:
>>
>> I was trying to avoid using the custom instruction emitter method.
>> Not as if I didn't look before I asked the question to see if there
>> was an easier way.
>
> Then no, there is no other way.
>
> -Chris
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
More information about the llvm-dev
mailing list