aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorRamkumar Ramachandra <r@artagnon.com>2024-05-08 09:47:55 +0100
committerGitHub <noreply@github.com>2024-05-08 09:47:55 +0100
commit57b9c15227ec15a5e2abf4587d7d0ad536cff9e6 (patch)
treebe12282d90705357162537cf7ee560acc245e817 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent9ef28cf88ca6e45c3ecb75c649463f8797db68d2 (diff)
downloadllvm-57b9c15227ec15a5e2abf4587d7d0ad536cff9e6.zip
llvm-57b9c15227ec15a5e2abf4587d7d0ad536cff9e6.tar.gz
llvm-57b9c15227ec15a5e2abf4587d7d0ad536cff9e6.tar.bz2
VectorCombine: fix logical error after m_Trunc match (#91201)
The matcher m_Trunc() matches an Operator with a given Opcode, which could either be an Instruction or ConstExpr. VectorCombine::foldTruncFromReductions() incorrectly assumes that the pattern matched is always an Instruction, and attempts a cast. Fix this. Fixes #88796.
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions