[PATCH] D15722: [WIP][Polly] SSA Codegen
Sebastian Pop via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 29 11:16:12 PST 2016
sebpop added inline comments.
================
Comment at: lib/Support/ScopHelper.cpp:481
@@ +480,3 @@
+ MergePHI->eraseFromParent();
+ return *Values.begin();
+ }
----------------
You could also check whether all arguments of the MergePHI node are the same, in which case you do not need the phi node, and just return the first arg.
http://reviews.llvm.org/D15722
More information about the llvm-commits
mailing list