aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/DebugInfo/CodeView/DebugFrameDataSubsection.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2019-05-22 20:04:55 +0000
committerCraig Topper <craig.topper@intel.com>2019-05-22 20:04:55 +0000
commit9816d557768cfdb3b9339269f0295b7f4356883d (patch)
tree8a16eef4f85925a4bc139c9468e4463ca5d4cf09 /llvm/lib/DebugInfo/CodeView/DebugFrameDataSubsection.cpp
parent13bf9892dc2a37a4c4a0fcce8cb79ed8798a236f (diff)
downloadllvm-9816d557768cfdb3b9339269f0295b7f4356883d.zip
llvm-9816d557768cfdb3b9339269f0295b7f4356883d.tar.gz
llvm-9816d557768cfdb3b9339269f0295b7f4356883d.tar.bz2
[X86][InstCombine] Remove InstCombine code that turns X86 round intrinsics into llvm.ceil/floor. Remove some isel patterns that existed because that was happening.
We were turning roundss/sd/ps/pd intrinsics with immediates of 1 or 2 into llvm.floor/ceil. The llvm.ceil/floor intrinsics are supposed to correspond to the libm functions. For the libm functions we need to disable the precision exception so the llvm.floor/ceil functions should always map to encodings 0x9 and 0xA. We had a mix of isel patterns where some used 0x9 and 0xA and others used 0x1 and 0x2. We need to be consistent and always use 0x9 and 0xA. Since we have no way in isel of knowing where the llvm.ceil/floor came from, we can't map X86 specific intrinsics with encodings 1 or 2 to it. We could map 0x9 and 0xA to llvm.ceil/floor instead, but I'd really like to see a use case and optimization advantage first. I've left the backend test cases to show the blend we now emit without the extra isel patterns. But I've removed the InstCombine tests completely. llvm-svn: 361425
Diffstat (limited to 'llvm/lib/DebugInfo/CodeView/DebugFrameDataSubsection.cpp')
0 files changed, 0 insertions, 0 deletions