]> granicus.if.org Git - llvm/commit
[X86] Add TB_NO_REVERSE to some memory folding table entries where the register form...
authorCraig Topper <craig.topper@intel.com>
Mon, 17 Jun 2019 18:38:07 +0000 (18:38 +0000)
committerCraig Topper <craig.topper@intel.com>
Mon, 17 Jun 2019 18:38:07 +0000 (18:38 +0000)
commit6750ca7ad7952dfce15082339c98d7ec8df0f85c
tree27d6b440137ed4bc5d7fc055f6344d8463917abd
parent97e04d1cf3037b97457707f05203c27d71fcb93c
[X86] Add TB_NO_REVERSE to some memory folding table entries where the register form requires 64-bit mode, but the memory form does not.

We don't know if its safe to unfold if we're in 32-bit mode.

This is simlar to what was done to some load opcodes in r363523.

I think its pretty unlikely we will try to unfold these anyway so
I don't think this is testable.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@363595 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrFoldTables.cpp