[X86] Add test case to show failure to promote i16 subtract because we mistakenly...
authorCraig Topper <craig.topper@intel.com>
Sun, 1 Apr 2018 06:29:23 +0000 (06:29 +0000)
committerCraig Topper <craig.topper@intel.com>
Sun, 1 Apr 2018 06:29:23 +0000 (06:29 +0000)
commit280f631350fc443419f9c2d3fcb5d1c5f66618b0
tree898d047b671c53dd8730e86daa36d47fca7a474b
parent9bc0d881a3a3ee1e833295ede8ec0e1272c68634
[X86] Add test case to show failure to promote i16 subtract because we mistakenly believe the load can be folded. NFC

The left hand side of the subtract is a load, but we cna't fold those unless we also have a store.

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