[X86] Add test to show incorrect ordering of flt.rounds intrinsic relative to calls...
authorCraig Topper <craig.topper@intel.com>
Tue, 25 Feb 2020 20:22:38 +0000 (12:22 -0800)
committerCraig Topper <craig.topper@intel.com>
Tue, 25 Feb 2020 20:50:28 +0000 (12:50 -0800)
commitc5ce6d8b561a5b2790a56803df24f800df7a76a8
treeb2aa8886406e78b854c97115efefc36c91c03a0b
parent6201f6601dec03e44424ad2d5cc04a9766f194b1
[X86] Add test to show incorrect ordering of flt.rounds intrinsic relative to calls to fesetround.

We don't order flt.rounds intrinsics relative to side effecting
operations in SelectionDAG. And we CSE multiple calls because of
this.
llvm/test/CodeGen/X86/flt-rounds.ll