[PATCH] D79830: Add support of __builtin_expect_with_probability
Dávid Bolvanský via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 15 20:55:42 PDT 2020
xbolva00 added inline comments.
================
Comment at: clang/lib/CodeGen/CGBuiltin.cpp:2216
+ // it could have side-effects.
+ if (CGM.getCodeGenOpts().OptimizationLevel == 0)
+ return RValue::get(ArgValue);
----------------
Fix comment and remove Probability?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D79830/new/
https://reviews.llvm.org/D79830
More information about the cfe-commits
mailing list