]> granicus.if.org Git - clang/commit
Examine the last, not the first, instruction from the MC matcher.
authorBob Wilson <bob.wilson@apple.com>
Tue, 25 Sep 2012 16:30:16 +0000 (16:30 +0000)
committerBob Wilson <bob.wilson@apple.com>
Tue, 25 Sep 2012 16:30:16 +0000 (16:30 +0000)
commit317d8f339c2ee7b59e0e8cc81646ef664e20532d
tree66e4c9112b994bab90826cb4e180019bfcdd5188
parent1370d37f60a173b2acf0afce92db063f06b30b2d
Examine the last, not the first, instruction from the MC matcher.

If an MS-style inline asm is matched to multiple instructions, e.g., with a
a WAIT-prefix, then we need to examine the operands of the last instruction
instruction, not the prefix instruction.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164608 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaStmtAsm.cpp