OSDN Git Service

R600/SI: Fix general commuting breaking src mods
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 17 Oct 2014 18:00:43 +0000 (18:00 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 17 Oct 2014 18:00:43 +0000 (18:00 +0000)
commit415789c57ed497f91455699761673fd3f495dcf2
tree8971401363fe6446dff4bf6145d0a057e82e4caa
parentbf5be3f9899e0358a25fd5f566aba6a19a318279
R600/SI: Fix general commuting breaking src mods

The generic code trying to use findCommutedOpIndices won't
understand that it needs to swap the modifier operands also,
so it should fail if they are set.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220064 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/SIInstrInfo.cpp
lib/Target/R600/SIInstrInfo.h