aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJuneyoung Lee <aqjune@gmail.com>2021-06-22 03:49:37 +0900
committerJuneyoung Lee <aqjune@gmail.com>2021-06-23 20:25:24 +0900
commit5af8bacc940243038478da1c92c3481cbdfcece3 (patch)
tree91c2eee5011bb3dbfbc743e3c638fbce8a294cf6 /clang/lib/Frontend/CompilerInvocation.cpp
parent1b1c8e4a984c07a3c985408d3d80c8e24e60d3d1 (diff)
downloadllvm-5af8bacc940243038478da1c92c3481cbdfcece3.zip
llvm-5af8bacc940243038478da1c92c3481cbdfcece3.tar.gz
llvm-5af8bacc940243038478da1c92c3481cbdfcece3.tar.bz2
[InstSimplify] Add more poison folding optimizations
This adds more poison folding optimizations to InstSimplify. Since all binary operators propagate poison, these are fine. Also, the precondition of `select cond, undef, x` -> `x` is relaxed to allow the case when `x` is undef. Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D104661
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions