aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorBjörn Pettersson <bjorn.a.pettersson@ericsson.com>2025-08-14 11:05:15 +0200
committerGitHub <noreply@github.com>2025-08-14 09:05:15 +0000
commit5e7924a3cb6103e6f8ed76f86fb784acd1f37df9 (patch)
treee4033d9b45b105d649f1006b6c39ce3a7ca7ed32 /flang/lib/Frontend/CompilerInvocation.cpp
parentcd8c3bdf1455d01f0ec23f80c03f84fdf0706f9a (diff)
downloadllvm-5e7924a3cb6103e6f8ed76f86fb784acd1f37df9.zip
llvm-5e7924a3cb6103e6f8ed76f86fb784acd1f37df9.tar.gz
llvm-5e7924a3cb6103e6f8ed76f86fb784acd1f37df9.tar.bz2
[SelectionDAG] Handle more opcodes in isGuaranteedNotToBeUndefOrPoison (#147019)
Add special handling of EXTRACT_SUBVECTOR, INSERT_SUBVECTOR, EXTRACT_VECTOR_ELT, INSERT_VECTOR_ELT and SCALAR_TO_VECTOR in isGuaranteedNotToBeUndefOrPoison. Make use of DemandedElts to improve the analysis and only check relevant elements for each operand. Also start using DemandedElts in the recursive calls that check isGuaranteedNotToBeUndefOrPoison for all operands for operations that do not create undef/poison. We can do that for a number of elementwise operations for which the DemandedElts can be applied to every operand (e.g. ADD, OR, BITREVERSE, TRUNCATE).
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions