llvm-project/llvm/test/Transforms/CodeGenPrepare/X86
Peter Zotov 0b6d7bc682 [CodeGenPrepare] Avoid sinking soft-FP comparisons
Sinking comparisons in CGP can undo the job of hoisting them done
earlier by LICM, and soft-FP makes this an expensive mistake.

A common pattern that produces floating point comparisons uniform
over a loop is an explicit check for division by zero. If the divisor
is hoisted out of the loop, the comparison can also be, but hoisting
the function that unwinds is never legal, since it may cause side
effects in the loop body prior to the unwinding to not be executed.

Differential Revision: http://reviews.llvm.org/D18744

llvm-svn: 265264
2016-04-03 16:36:17 +00:00
..
catchpad-phi-cast.ll testcase gardening: update the emissionKind enum to the new syntax. (NFC) 2016-04-01 00:16:49 +00:00
cttz-ctlz.ll this new test file was accidentally left out of r253573 2015-11-19 16:39:00 +00:00
extend-sink-hoist.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
fcmp-sinking.ll [CodeGenPrepare] Avoid sinking soft-FP comparisons 2016-04-03 16:36:17 +00:00
lit.local.cfg
memset_chk-simplify-nobuiltin.ll Revert "Change memcpy/memset/memmove to have dest and source alignments." 2015-11-19 05:56:52 +00:00
select.ll [CodeGenPrepare] Remove load-based heuristic 2016-02-25 00:23:27 +00:00
sink-addrmode.ll [CGP] Duplicate addressing computation in cold paths if required to sink addressing mode 2016-03-09 23:13:12 +00:00
sink-addrspacecast.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
widen_switch.ll [CGP] widen switch condition and case constants to target's register width (2nd try) 2015-11-02 23:22:49 +00:00
x86-shuffle-sink.ll