[PATCH] D38262: [AArch64] Use LateSimplifyCFG after expanding atomic operations.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 2 13:43:58 PDT 2017


efriedma added inline comments.


================
Comment at: test/CodeGen/AArch64/cmpxchg-idioms.ll:121
+
+for.cond:                                         ; preds = %if.end, %entry
+  %i.0 = phi i32 [ 2, %entry ], [ %dec, %if.end ]
----------------
This testcase looks weird because the loop isn't rotated like it normally would be... might not be guess it's not a big deal.

Please add a short explanation of which CHECK lines are important and why; I assume we're threading a branch somewhere, but it isn't obvious exactly which branch.


https://reviews.llvm.org/D38262





More information about the llvm-commits mailing list