aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/ModuleSummaryIndex.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-02-05 16:54:07 +0000
committerCraig Topper <craig.topper@intel.com>2018-02-05 16:54:07 +0000
commit57e06431600f60df5831bf3d8315fedac360ca22 (patch)
tree2d190b4f1d3767104d4ee5258dff7e960267f297 /llvm/lib/IR/ModuleSummaryIndex.cpp
parent22db17cf4334b028fe13e37ed7957eff2ae01ea9 (diff)
downloadllvm-57e06431600f60df5831bf3d8315fedac360ca22.zip
llvm-57e06431600f60df5831bf3d8315fedac360ca22.tar.gz
llvm-57e06431600f60df5831bf3d8315fedac360ca22.tar.bz2
[X86] Teach X86DAGToDAGISel::shrinkAndImmediate to preserve upper 32 zeroes of a 64 bit mask.
If the upper 32 bits of a 64 bit mask are all zeros, we have special isel patterns to use a 32-bit and instead of a 64-bit and by relying on the impliciting zeroing of 32 bit ops. This patch teachs shrinkAndImmediate not to break that optimization. Differential Revision: https://reviews.llvm.org/D42899 llvm-svn: 324249
Diffstat (limited to 'llvm/lib/IR/ModuleSummaryIndex.cpp')
0 files changed, 0 insertions, 0 deletions