diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2014-09-26 17:54:43 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2014-09-26 17:54:43 +0000 |
commit | aff65fbca5616ad4652c60ab292db978bdad60f6 (patch) | |
tree | 0a3edc2052b37a126da3fed4503614bdb4149272 /llvm/lib/Support/MathExtras.cpp | |
parent | e50c1c4a64861a848a76609dc00d49d1d8d88d05 (diff) | |
download | llvm-aff65fbca5616ad4652c60ab292db978bdad60f6.zip llvm-aff65fbca5616ad4652c60ab292db978bdad60f6.tar.gz llvm-aff65fbca5616ad4652c60ab292db978bdad60f6.tar.bz2 |
R600/SI: Fix using wrong operand indices when commuting
No test since the current SIISelLowering::legalizeOperands
effectively hides this, and the general uses seem to only fire
on SALU instructions which don't have modifiers between
the operands.
When trying to use legalizeOperands immediately after
instruction selection, it now sees a lot more patterns
it did not see before which break on this.
llvm-svn: 218527
Diffstat (limited to 'llvm/lib/Support/MathExtras.cpp')
0 files changed, 0 insertions, 0 deletions