aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2020-05-01 10:34:29 -0400
committerSanjay Patel <spatel@rotateright.com>2020-05-01 10:34:29 -0400
commit57f0eed98d02cd684c358a45f68e716179f4bfa3 (patch)
tree9a3f06c2ca6bbdaeead5da0055089164cc146087 /clang/lib/Frontend/CompilerInvocation.cpp
parentc79a366ec0f87eafca123138b550b039618bf880 (diff)
downloadllvm-57f0eed98d02cd684c358a45f68e716179f4bfa3.zip
llvm-57f0eed98d02cd684c358a45f68e716179f4bfa3.tar.gz
llvm-57f0eed98d02cd684c358a45f68e716179f4bfa3.tar.bz2
[InstSimplify] allow insertelement-with-undef fold if poison-safe
The more general fold was not poison-safe, so it was removed: rG5486e00 ...but it is ok to have this transform if analysis can determine the vector contains no poison. The test shows a simple example of that: constant integer elements are not poison.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions