[X86] Add test case to show failure to promote i16 subtract when the LHS is a load...
authorCraig Topper <craig.topper@intel.com>
Sun, 1 Apr 2018 06:29:27 +0000 (06:29 +0000)
committerCraig Topper <craig.topper@intel.com>
Sun, 1 Apr 2018 06:29:27 +0000 (06:29 +0000)
commit3998041e800335a62fdcb7e547b82f080e3e157a
tree21f47827f5abfe8fcb48c588fa38a32c0b073199
parentae2de57db0f7cbc1c057d58808681049b2f6d8e7
[X86] Add test case to show failure to promote i16 subtract when the LHS is a load and the result is stored to a different address.

We mistakenly believe we might be able to fold this as a RMW operation, but that doesn't end up happening.

llvm-svn: 328929
llvm/test/CodeGen/X86/promote-i16.ll