[llvm-commits] [llvm] r141607 - /llvm/trunk/test/CodeGen/ARM/thumb2-it-block.ll

Anton Korobeynikov anton at korobeynikov.info
Tue Oct 11 02:54:47 PDT 2011


Hello Ana,

> So the ABS optimization exposed an issue in the if-conversion pass for Thumb
> mode.
No. 2 times :)

1. In it block formation pass
2. On Thumb2, not thumb

> I mean, run 'llc -march=thumb' turning on the if-converter pass.
>
> I tried running 'llc -O3 -march=thumb' but it does not include if-converter
> on ARM.
"IT blocks" is a feature on Thumb2, you should explicitly asks for
this either via target triplet, or via -mattr=+thumb2

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the llvm-commits mailing list