aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2020-05-10 11:37:47 -0400
committerSanjay Patel <spatel@rotateright.com>2020-05-10 11:37:47 -0400
commit856cc60bc1ad07b5cba1ab81160c1c3ef8ff4c23 (patch)
tree79908cb9d0df8dc3c024539247e412c5773a6e0b /clang/lib/Frontend/CompilerInvocation.cpp
parentd02b3aba37d9a18691669392ff26ec28b51741f5 (diff)
downloadllvm-856cc60bc1ad07b5cba1ab81160c1c3ef8ff4c23.zip
llvm-856cc60bc1ad07b5cba1ab81160c1c3ef8ff4c23.tar.gz
llvm-856cc60bc1ad07b5cba1ab81160c1c3ef8ff4c23.tar.bz2
[InstCombine] canonicalize bitcast after insertelement into undef
We have a transform in the opposite direction only for the x86 MMX type, Other types are not handled either way before this patch. The motivating case from PR45748: https://bugs.llvm.org/show_bug.cgi?id=45748 ...is the last test diff. In that example, we are triggering an existing bitcast transform, so we reduce the number of casts, and that should give us the ideal x86 codegen. Differential Revision: https://reviews.llvm.org/D79171
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions