[PATCH] D106650: [SimplifyCFG] Don't speculatively execute BB if it's predictably not taken

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 24 10:05:39 PST 2022


lebedev.ri added a comment.

A bit of necro-posting, but i was looking at this code again, and i'm wondering,
if the profile says that the only block that we are about to speculate
is predictably taken, does it actually make sense to speculate it,
incurring the cost of the select?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D106650



More information about the llvm-commits mailing list