aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2023-08-14 13:02:24 -0700
committerCraig Topper <craig.topper@sifive.com>2023-08-14 13:02:24 -0700
commit6299650f9788c8b6cc784dbf8fe4086b552be2f1 (patch)
treeed1a13518a1f9987fe8a5d6768e24590eb715362 /clang/lib/Frontend/CompilerInvocation.cpp
parenta63bd7e99b00c6c970f38ea596f708e42b8c98e5 (diff)
downloadllvm-6299650f9788c8b6cc784dbf8fe4086b552be2f1.zip
llvm-6299650f9788c8b6cc784dbf8fe4086b552be2f1.tar.gz
llvm-6299650f9788c8b6cc784dbf8fe4086b552be2f1.tar.bz2
[DAGCombiner] Fold trunc(undef) -> undef.
We already do this in getNode, but the undef might appear during another DAGCombine. While here remove code for handling noop truncates. getNode checks the types and won't a noop truncate. Reviewed By: arsenm Differential Revision: https://reviews.llvm.org/D157910
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions