This allows strlen to be moved out of the loop in case its argument is
not modified in the loop in LICM.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Generally looks good, but the test isn't testing anything.
test/Transforms/LICM/strlen.ll | ||
---|---|---|
3 ↗ | (On Diff #102951) | You're not running this through FileCheck at all. Look at the other LICM tests. |
Comment Actions
lgtm
test/Transforms/LICM/strlen.ll | ||
---|---|---|
15 ↗ | (On Diff #102952) | Also check that #0 does, in fact, correspond to strlen. |