aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/ADT/ArrayRefTest.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-01-16 06:07:16 +0000
committerCraig Topper <craig.topper@intel.com>2018-01-16 06:07:16 +0000
commit7a0c601f95fcf07346c295298671d439e88e9ef6 (patch)
tree246fedf598540d86f1323a1d3eba458dc035eae5 /llvm/unittests/ADT/ArrayRefTest.cpp
parentdaa385f480c640599f1983fec6f203752f9c05e3 (diff)
downloadllvm-7a0c601f95fcf07346c295298671d439e88e9ef6.zip
llvm-7a0c601f95fcf07346c295298671d439e88e9ef6.tar.gz
llvm-7a0c601f95fcf07346c295298671d439e88e9ef6.tar.bz2
[X86] Revisit the fix I made years ago to make 'xchgl %eax, %eax' not encode using the 0x90 encoding in 64-bit mode.
Prior to this we had a separate instruction and register class that excluded eax to prevent matching the instruction that would encode with 0x90. This patch changes this to just use an InstAlias to force xchgl %eax, %eax to use XCHG32rr instruction in 64-bit mode. This gets rid of the separate instruction and register class. llvm-svn: 322532
Diffstat (limited to 'llvm/unittests/ADT/ArrayRefTest.cpp')
0 files changed, 0 insertions, 0 deletions