diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2018-07-31 13:34:31 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2018-07-31 13:34:31 +0000 |
commit | 4aec86d37a65758b2975a93d5f9c406a4610f052 (patch) | |
tree | 86b90383c2c71788b1aff30be774ff3da9aa0d66 /llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp | |
parent | 511fed8a24d321be41176cf246f6450d11342174 (diff) | |
download | llvm-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