[PATCH] D152033: TTI: Pass function to hasBranchDivergence in a few passes

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 3 03:49:53 PDT 2023


arsenm added inline comments.


================
Comment at: llvm/test/Transforms/SpeculativeExecution/single-lane-execution.ll:14
+; CHECK: a:
+; CHECK: %x = add i32 2, 3
+a:
----------------
sameerds wrote:
> Shouldn't this have been moved to the entry block??
No, the point is it wasn’t because it’s acting like a non divergent target.

The spec-exec-only-if-divergent-target flag doesn’t really make sense to me though


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D152033/new/

https://reviews.llvm.org/D152033



More information about the llvm-commits mailing list