mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
2e1b0642c7
With custom lowering for vector MULLH{S,U}, it is now profitable to vectorize a divide by constant loop for the custom types (v16i8, v8i16, and v4i32). The cost if based on TargetLowering::Build{S,U}DIV which uses a multiply by constant plus adjustment to express a divide by constant. Both {u,s}mull{2} are expressed as Instruction::Mul and shifts by Instruction::AShr. llvm-svn: 331873 |
||
---|---|---|
.. | ||
bswap.ll | ||
div_cte.ll | ||
div.ll | ||
free-widening-casts.ll | ||
gep.ll | ||
kryo.ll | ||
lit.local.cfg | ||
select.ll | ||
shuffle-transpose.ll | ||
store.ll | ||
vector-reduce.ll |