1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/test/Analysis/CostModel
Arnold Schwaighofer e628d03dcc ARM cost model: Correct cost for some cheap float to integer conversions
Fix cost of some "cheap" cast instructions. Before this patch we used to
estimate for example:
  cost of 16 for instruction:   %r = fptoui <4 x float> %v0 to <4 x i16>

While we would emit:
  vcvt.s32.f32  q8, q8
  vmovn.i32 d16, q8
  vuzp.8  d16, d17

All other costs are left to the values assigned by the fallback logic. Theses
costs are mostly reasonable in the sense that they get progressively more
expensive as the instruction sequences emitted get longer.

radar://13434072

llvm-svn: 177333
2013-03-18 22:47:06 +00:00
..
ARM ARM cost model: Correct cost for some cheap float to integer conversions 2013-03-18 22:47:06 +00:00
PowerPC Refine fix to bug 15041. 2013-02-08 18:19:17 +00:00
X86 X86 cost model: Adjust cost for custom lowered vector multiplies 2013-03-02 04:02:52 +00:00
lit.local.cfg
no_info.ll Make opt grab the triple from the module and use it to initialize the target machine. 2013-01-01 08:00:32 +00:00