[llvm] [polly] IR: Remove uselist for constantdata (PR #137313)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Tue May 6 00:19:32 PDT 2025
================
@@ -395,6 +398,9 @@ static void verifyUseListOrder(const Module &M) {
static void shuffleValueUseLists(Value *V, std::minstd_rand0 &Gen,
DenseSet<Value *> &Seen) {
+ if (isa<ConstantData>(V))
----------------
nikic wrote:
```suggestion
if (!V->hasUseList())
```
https://github.com/llvm/llvm-project/pull/137313
More information about the llvm-commits
mailing list