Fix PR 24724 - The implicit register verifier shouldn't assume certain operand
authorAlex Lorenz <arphaman@gmail.com>
Thu, 10 Sep 2015 14:04:34 +0000 (14:04 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Thu, 10 Sep 2015 14:04:34 +0000 (14:04 +0000)
commiteecbba2d64a093f61469dcc37b0fab5188f50012
treeacb1a7c8e7d8f364664b575566a708ce620f6e61
parent7ad3ef048d1dc7ba9c5a7a196cde4cbd27e74d87
Fix PR 24724 - The implicit register verifier shouldn't assume certain operand
order.

The implicit register verifier in the MIR parser should only check if the
instruction's default implicit operands are present in the instruction. It
should not check the order in which they occur.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@247283 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MIRParser/MIParser.cpp
test/CodeGen/MIR/PowerPC/lit.local.cfg [new file with mode: 0644]
test/CodeGen/MIR/PowerPC/unordered-implicit-registers.mir [new file with mode: 0644]
test/CodeGen/MIR/X86/expected-different-implicit-operand.mir
test/CodeGen/MIR/X86/expected-different-implicit-register-flag.mir