summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/Utils/X86ShuffleDecode.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2019-05-03 13:42:56 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2019-05-03 13:42:56 +0000
commit2c8936fd264239db1438358fc01c83412aa161ed (patch)
tree73b1456d7a147dae1b8fa36c20f8dbc2484c4e72 /llvm/lib/Target/X86/Utils/X86ShuffleDecode.cpp
parent2636460f0e1cb582f3793775efbffdc02bf55d23 (diff)
downloadbcm5719-llvm-2c8936fd264239db1438358fc01c83412aa161ed.tar.gz
bcm5719-llvm-2c8936fd264239db1438358fc01c83412aa161ed.zip
AMDGPU: Fix incorrect commute with sub when folding immediates
When a fold of an immediate into a sub/subrev required shrinking the instruction, the wrong VOP2 opcode was used. This was using the VOP2 equivalent of the original instruction, not the commuted instruction with the inverted opcode. llvm-svn: 359883
Diffstat (limited to 'llvm/lib/Target/X86/Utils/X86ShuffleDecode.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud