[PATCH] Teach IRCE to look at branch weights when recognizing range checks

Sanjoy Das sanjoy at playingwithpointers.com
Tue Jan 27 12:56:00 PST 2015


Address Hal's comment and use BranchProbabilityInfo instead of manually parsing branch_weights metadata.


http://reviews.llvm.org/D7192

Files:
  lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
  test/Transforms/IRCE/multiple-access-no-preloop.ll
  test/Transforms/IRCE/not-likely-taken.ll
  test/Transforms/IRCE/single-access-no-preloop.ll
  test/Transforms/IRCE/single-access-with-preloop.ll
  test/Transforms/IRCE/with-parent-loops.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7192.18845.patch
Type: text/x-patch
Size: 10717 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150127/018fbbc6/attachment.bin>


More information about the llvm-commits mailing list