diff options
author | Craig Topper <craig.topper@intel.com> | 2018-11-05 05:53:06 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2018-11-05 05:53:06 +0000 |
commit | 8f2f2a76b9e954fe352319ac7cc00211c85c702c (patch) | |
tree | 5c19c890825b5d4a5de0a69b58a7bc4b40823482 /clang/lib/Lex/ModuleMap.cpp | |
parent | 8d64abddd1cea5385b3db8dedf89d2b3fe5fb99f (diff) | |
download | llvm-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