This patch allows SimplifyPartiallyRedundantLoad work when
the branch condition was frozen.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| llvm/lib/Transforms/Scalar/JumpThreading.cpp | ||
|---|---|---|
| 1174 | Am I understanding correctly, that SimplifyPartiallyRedundantLoad is actually a legal transform for arbitrary load instructions, but we have a heuristic so we only perform it for "important" instructions? | |
| llvm/lib/Transforms/Scalar/JumpThreading.cpp | ||
|---|---|---|
| 1174 | Yes, that is correct. Since freeze is still there, it does not make the code more undefined. | |
Am I understanding correctly, that SimplifyPartiallyRedundantLoad is actually a legal transform for arbitrary load instructions, but we have a heuristic so we only perform it for "important" instructions?