aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-11-05 05:53:06 +0000
committerCraig Topper <craig.topper@intel.com>2018-11-05 05:53:06 +0000
commit8f2f2a76b9e954fe352319ac7cc00211c85c702c (patch)
tree5c19c890825b5d4a5de0a69b58a7bc4b40823482 /clang/lib/Lex/ModuleMap.cpp
parent8d64abddd1cea5385b3db8dedf89d2b3fe5fb99f (diff)
downloadllvm-8f2f2a76b9e954fe352319ac7cc00211c85c702c.zip
llvm-8f2f2a76b9e954fe352319ac7cc00211c85c702c.tar.gz
llvm-8f2f2a76b9e954fe352319ac7cc00211c85c702c.tar.bz2
[DAGCombiner] Use tryFoldToZero to simplify some code and make it work correctly between LegalTypes and LegalOperations.
The original code avoided creating a zero vector after type legalization, but if we're after type legalization the type we have is legal. The real hazard we need to avoid is creating a build vector after op legalization. tryFoldToZero takes care of checking for this. llvm-svn: 346119
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions