aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2020-02-02 09:16:42 -0500
committerSanjay Patel <spatel@rotateright.com>2020-02-02 10:52:00 -0500
commit9b9e2da07dd3b103e5a41a3519d839117d994ffa (patch)
tree2343bb800c6e75fa165626f4b651084eb7052ba2 /clang/lib/Frontend/CompilerInvocation.cpp
parenta9ab01a330f4c7c316fa87c8446888c73dae5536 (diff)
downloadllvm-9b9e2da07dd3b103e5a41a3519d839117d994ffa.zip
llvm-9b9e2da07dd3b103e5a41a3519d839117d994ffa.tar.gz
llvm-9b9e2da07dd3b103e5a41a3519d839117d994ffa.tar.bz2
[Analysis] add optional index parameter to isSplatValue()
We want to allow splat value transforms to improve PR44588 and related bugs: https://bugs.llvm.org/show_bug.cgi?id=44588 ...but to do that, we need to know if values are splatted from the same, specific index (lane) rather than splatted from an arbitrary index. We can improve the undef handling with 1-liner follow-ups because the Constant API optionally allow undefs now. Differential Revision: https://reviews.llvm.org/D73549
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions