aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2020-07-04 11:42:00 -0700
committerCraig Topper <craig.topper@intel.com>2020-07-04 11:42:53 -0700
commit120c5f1057dc50229f73bc75bbabf4df6ee50fef (patch)
treece1b4a9ba2a453ef9972b0a1e18ba7e31fab41df /clang/lib/Frontend/CompilerInvocation.cpp
parent21d8f66d20b813edadac84b12cc83b66eaeae630 (diff)
downloadllvm-120c5f1057dc50229f73bc75bbabf4df6ee50fef.zip
llvm-120c5f1057dc50229f73bc75bbabf4df6ee50fef.tar.gz
llvm-120c5f1057dc50229f73bc75bbabf4df6ee50fef.tar.bz2
[DAGCombiner] Don't fold zext_vector_inreg/sext_vector_inreg(undef) to undef. Fold to 0.
zext_vector_inreg needs to produces 0s in the extended bits and sext_vector_inreg needs to produce upper bits that are all the same. So we should fold them to a 0 vector instead of undef. Fixes PR46585.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions