diff options
author | Chris Lattner <sabre@nondot.org> | 2010-09-06 23:37:39 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-09-06 23:37:39 +0000 |
commit | 9bb9fa19a5e121b83866867ad1d8f7bf2618c1a0 (patch) | |
tree | 791634769f075377431d2c372a998904c379dab6 /unittests/Support/ConstantRangeTest.cpp | |
parent | 9389b60a03890b70872e5ee2f078c4a4a00d123b (diff) |
generalize my previous operand loc info hack. If the same operand
is busted for all variants, report it as the location. This allows
us to get the operand right for bugs like:
t.s:3:12: error: invalid operand for instruction
outb %al, %gs
^
Even though there are reg/imm and reg/reg forms of this instruction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113183 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Support/ConstantRangeTest.cpp')
0 files changed, 0 insertions, 0 deletions