aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDominik Steenken <dost@de.ibm.com>2024-04-19 14:18:05 +0200
committerGitHub <noreply@github.com>2024-04-19 14:18:05 +0200
commit5af9701985c6abba328dbedbd2d9c602dc46c4b0 (patch)
tree1d1ccc1fab9eed9f47548ab424828c07e0ed15a5 /clang/lib/Frontend/CompilerInvocation.cpp
parente7c042f12fd6f3bbbbe9aeb37854d499aada8457 (diff)
downloadllvm-5af9701985c6abba328dbedbd2d9c602dc46c4b0.zip
llvm-5af9701985c6abba328dbedbd2d9c602dc46c4b0.tar.gz
llvm-5af9701985c6abba328dbedbd2d9c602dc46c4b0.tar.bz2
[SystemZ] Fix Operand Retrieval for Vector Reduction Intrinsic in `shouldExpandReduction` (#88874)
In the existing version, SystemZTTIImpl::shouldExpandReduction will create a `cast` error when handling vector reduction intrinsics that do not have the vector to reduce as their first operand, such as `llvm.vector.reduce.fadd` and `llvm.vector.reduce.fmul`. This commit fixes that problem by moving the cast into the case statement that handles the specific intrinsic, where the vector operand position is well-known.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions