diff options
author | Florian Hahn <flo@fhahn.com> | 2024-07-19 12:02:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-19 12:02:25 +0100 |
commit | 008df3cf85e9bb1532c079bfd7a7a00e90e0a3c6 (patch) | |
tree | c5b2b59d572e70d82949747858d769e93184f4ce /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 098bd842a7e50853fa231f8b73c24ec5006fe063 (diff) | |
download | llvm-008df3cf85e9bb1532c079bfd7a7a00e90e0a3c6.zip llvm-008df3cf85e9bb1532c079bfd7a7a00e90e0a3c6.tar.gz llvm-008df3cf85e9bb1532c079bfd7a7a00e90e0a3c6.tar.bz2 |
[LV] Check isPredInst instead of isScalarWithPred in uniform analysis. (#98892)
Any instruction marked as uniform will result in a uniform
VPReplicateRecipe. If it requires predication, it will be placed in a
replicate region, even if isScalarWithPredication returns false.
Check isPredicatedInst instead of isScalarWithPredication to avoid
generating uniform VPReplicateRecipes placed inside a replicate region.
This fixes an assertion when using scalable VFs.
Fixes https://github.com/llvm/llvm-project/issues/80416.
Fixes https://github.com/llvm/llvm-project/issues/94328.
Fixes https://github.com/llvm/llvm-project/issues/99625.
PR: https://github.com/llvm/llvm-project/pull/98892
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions