aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2021-02-21 14:40:54 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2021-02-21 14:40:54 +0000
commit2885d1251f29f3676b2c99b4b3c19d6907272cc1 (patch)
treedf10900f5b495aa7cc0c6c93eb9c47bc1b4f4beb /clang/lib/Frontend/CompilerInvocation.cpp
parentd9207d3f0bad15caefbb44f307e42862a755333b (diff)
downloadllvm-2885d1251f29f3676b2c99b4b3c19d6907272cc1.zip
llvm-2885d1251f29f3676b2c99b4b3c19d6907272cc1.tar.gz
llvm-2885d1251f29f3676b2c99b4b3c19d6907272cc1.tar.bz2
[X86] Fold bitcast(logic(bitcast(X), Y)) --> logic'(X, bitcast(Y)) for int-int bitcasts
Extend the existing combine that handles bitcasting for fp-logic ops to also help remove logic ops across bitcasts to/from the same integer types. This helps improve AVX512 predicate handling for D/Q logic ops and also allows DAGCombine's scalarizeExtractedBinop to remove some annoying gpr->simd->gpr transfers. The concat_vectors regression in pr40891.ll will be addressed in a followup commit on this patch. Differential Revision: https://reviews.llvm.org/D96206
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions