aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2018-07-31 13:34:31 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2018-07-31 13:34:31 +0000
commit4aec86d37a65758b2975a93d5f9c406a4610f052 (patch)
tree86b90383c2c71788b1aff30be774ff3da9aa0d66 /llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp
parent511fed8a24d321be41176cf246f6450d11342174 (diff)
downloadllvm-4aec86d37a65758b2975a93d5f9c406a4610f052.zip
llvm-4aec86d37a65758b2975a93d5f9c406a4610f052.tar.gz
llvm-4aec86d37a65758b2975a93d5f9c406a4610f052.tar.bz2
AMDGPU: Fold undef fcanonicalize to qNaN
We could choose a free 0 for this, but this matches the behavior for fmul undef, 1.0. Also, the NaN use is more useful for folding use operations although if it's not eliminated it is more expensive in terms of code size. llvm-svn: 338376
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp')
0 files changed, 0 insertions, 0 deletions