summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MIRPrintingPass.cpp
diff options
context:
space:
mode:
authorAlex Lorenz <arphaman@gmail.com>2015-07-31 23:30:09 +0000
committerAlex Lorenz <arphaman@gmail.com>2015-07-31 23:30:09 +0000
commitb4d0d6a345d76c9d03fe4c595dd93bb89e1065c3 (patch)
tree2eadeaf544e6116427b484295c830d926f400a65 /llvm/lib/CodeGen/MIRPrintingPass.cpp
parent59ed5919cd7c6cefbd5d77ee65704aafbe158dab (diff)
downloadbcm5719-llvm-b4d0d6a345d76c9d03fe4c595dd93bb89e1065c3.tar.gz
bcm5719-llvm-b4d0d6a345d76c9d03fe4c595dd93bb89e1065c3.zip
AMDGPU/SI: Add implicit register operands in the correct order.
This commit fixes a bug in the class 'SIInstrInfo' where the implicit register machine operands were added to a machine instruction in an incorrect order - the implicit uses were added before the implicit defs. I found this bug while working on moving the implicit register operand verification code from the MIR parser to the machine verifier. This commit also makes the method 'addImplicitDefUseOperands' in the machine instruction class public so that it can be reused in the 'SIInstrInfo' class. Reviewers: Matt Arsenault Differential Revision: http://reviews.llvm.org/D11689 llvm-svn: 243799
Diffstat (limited to 'llvm/lib/CodeGen/MIRPrintingPass.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud