[PATCH] Constant fold llvm.expect(c, ...) -> c

Philip Reames listmail at philipreames.com
Mon Jan 26 10:14:26 PST 2015


LGTM w/the addition of a negative test.  (i.e. show constant fold not happening when the first operand isn't constant)


http://reviews.llvm.org/D7168

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list