[PATCH] D62989: [Unroll] Do NOT unroll a loop with small runtime upperbound
Michael Kruse via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 7 13:36:55 PDT 2019
Meinersbur added a comment.
What problem is this solving?
================
Comment at: test/Transforms/LoopUnroll/runtime-small-upperbound.ll:29-31
+ %1 = load i8*, i8** @global.1, align 4
+ %2 = getelementptr inbounds i8, i8* %1, i32 1
+ store i8* %2, i8** @global.1, align 4
----------------
Is it necessary ro have the store from/to the global here? Without it, you could could just
```
CHECK: store
CHECK-NOT: store
```
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D62989/new/
https://reviews.llvm.org/D62989
More information about the llvm-commits
mailing list