commit | 509312630ddcc7d64dbad93dea66764cf070b611 | [log] [tgz] |
---|---|---|
author | Matt Arsenault <Matthew.Arsenault@amd.com> | Tue May 22 20:13:34 2018 +0000 |
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | Tue May 22 20:13:34 2018 +0000 |
tree | 54226e03ad3124a2aca4451c4f541fad323df19e | |
parent | 6853db121787fe9174e42440ddf5e7e53172fee4 [diff] |
AMDGPU: Fix v2f16 fneg/fabs pattern The integer operation convertion for some reason only happens if the source is a bitcast from an integer, which happens to always be the situation when the result is loaded. Add an additional pattern for when the source operation is really an FP operation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@333019 91177308-0d34-0410-b5e6-96231b3b80d8