commit | 8f44f41e0f3c0714984307749b1891cdaaceb9ee | [log] [tgz] |
---|---|---|
author | Matt Arsenault <Matthew.Arsenault@amd.com> | Tue Jul 31 13:34:31 2018 +0000 |
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | Tue Jul 31 13:34:31 2018 +0000 |
tree | c777c3d96e5bde8cf10fb3ca8bc2436bd9ea0abe | |
parent | 8d00765ed12418005856d03e9579d54f4b850620 [diff] |
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@338376 91177308-0d34-0410-b5e6-96231b3b80d8