[PATCH] D35317: [EarlyCSE] Handle calls with no MemorySSA info.

Davide Italiano via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 14 08:31:14 PDT 2017


davide added a comment.

This fix is basically correct, I'm fine with this going in after Dan's comments are addressed.
I don't have strong opinions on the alternative solution suggested by Vedant, so up to you.



================
Comment at: test/Transforms/EarlyCSE/globalsaa-memoryssa.ll:13-18
+
+; CHECK-LABEL: @f3(
+; CHECK-NEXT: %call1 = call i16 @f1()
+; CHECK-NEXT: call void @f2()
+; CHECK-NEXT  ret void
+define void @f3() {
----------------
Consider autogenerating checks using the `update-test-checks.py` in `llvm/utils`


https://reviews.llvm.org/D35317





More information about the llvm-commits mailing list