[X86] Allow i16 subtracts to be promoted if the load is on the LHS and its not being...
authorCraig Topper <craig.topper@intel.com>
Sun, 1 Apr 2018 06:29:25 +0000 (06:29 +0000)
committerCraig Topper <craig.topper@intel.com>
Sun, 1 Apr 2018 06:29:25 +0000 (06:29 +0000)
commitae2de57db0f7cbc1c057d58808681049b2f6d8e7
treecca7ac669fef40156f8c02434b442b70f530cdaf
parent280f631350fc443419f9c2d3fcb5d1c5f66618b0
[X86] Allow i16 subtracts to be promoted if the load is on the LHS and its not being stored.

llvm-svn: 328928
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/promote-i16.ll