This patch adds more test to verify code motion safety through dependence info which is generated by Dependence Info analysis and Alias analysis.
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/unittests/Transforms/Utils/CodeMoverUtilsTest.cpp | ||
---|---|---|
1035 | Just to include a function call which would fail some existing sink and hoist test cases. |
llvm/unittests/Transforms/Utils/CodeMoverUtilsTest.cpp | ||
---|---|---|
1006 | did you forget to update your patch? cause dso_local is still there. | |
1035 | right, can you indent it? two spaces before the line. | |
1070 | for test pairs with the same comment, please expend the comment with the difference, like the first four are all sink instruction from entry to header. |
llvm/unittests/Transforms/Utils/CodeMoverUtilsTest.cpp | ||
---|---|---|
1006 | Updated, thanks. |
remove dso_local