diff options
author | Chris Lattner <sabre@nondot.org> | 2010-09-06 20:08:02 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-09-06 20:08:02 +0000 |
commit | ec6789f4f97ca1701c163132b6e3388366463090 (patch) | |
tree | 40eb7ca0bc1b84596d749e001625afb88df3bac7 /unittests/Support/ConstantRangeTest.cpp | |
parent | 79ed3f77e8b87615b80054ca6e4e3ba5e07445bd (diff) |
have tblgen detect when an instruction would have matched, but
failed because a subtarget feature was not enabled. Use this to
remove a bunch of hacks from the X86AsmParser for rejecting things
like popfl in 64-bit mode. Previously these hacks weren't needed,
but were important to get a message better than "invalid instruction"
when used in the wrong mode.
This also fixes bugs where pushal would not be rejected correctly in
32-bit mode (just pusha).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113166 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Support/ConstantRangeTest.cpp')
0 files changed, 0 insertions, 0 deletions