[llvm] r199430 - [opt][PassInfo] Allow opt to run passes that need target machine.
Quentin Colombet
qcolombet at apple.com
Wed Jan 22 11:16:10 PST 2014
Hi Rafael,
On Jan 21, 2014, at 8:37 PM, Rafael EspĂndola <rafael.espindola at gmail.com> wrote:
> This is awesome, thanks!
>
>> Now, codegenprepare can be tested using opt:
>> opt -codegenprepare -mtriple=mytriple input.ll
>
> May I suggest a test doing just this? :-)
Well, this is a little bit more complicated.
This was working, but not doing what you would expect :).
Basically, this was running codegenprepare without TargetLowering information, thus it was not doing much.
Anyway, I will try to come up with a simple test. I have a big test for what I am working on, but it does not hurt to have something simpler landing before that.
Thanks,
Quentin
>
> Cheers,
> Rafael
More information about the llvm-commits
mailing list