aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorLuke Lau <luke@igalia.com>2025-07-22 23:43:19 +0800
committerLuke Lau <luke@igalia.com>2025-07-22 23:52:02 +0800
commit20c52e423161d3a70d58caf6b0298094cb62e4e7 (patch)
tree49d4d10d3a7260b1fc699fd11e54992bc3bc7f6d /clang/lib/Frontend/CompilerInvocation.cpp
parent4b99eb2eb49d8fcdb29ba494501e481cf09831ae (diff)
downloadllvm-20c52e423161d3a70d58caf6b0298094cb62e4e7.zip
llvm-20c52e423161d3a70d58caf6b0298094cb62e4e7.tar.gz
llvm-20c52e423161d3a70d58caf6b0298094cb62e4e7.tar.bz2
Reapply "[RISCV][LoopVectorize] Use DataWithEVL as the preferred tail folding style (#148686)"
This reverts commit 25e97fc420f8ecc43fbabadfe9767b4163e6ee36. The original commit was reverted due to a crash in llvm-test-suite. The crash stemmed from a multiply reduction, which isn't supported for scalable VFs on RISC-V. But for EVL tail folding we only support scalable VFs, so when -force-tail-folding-style=data-with-evl is specified we check to see if there's a scalable VF, and fall back to data-without-lane-mask if there isn't. This is done in setTailFoldingStyles, but previously we were only checking if the forced tail folding style was legal, not the style returned by TTI. This version fixes this by checking the actual computed tail folding style and not just the forced one, and adds a test for the crash in llvm/test/Transforms/LoopVectorize/RISCV/low-trip-count.ll
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions