[PATCH] D12458: [clang] add __builtin_unpredictable and convert to metadata
Krzysztof Parzyszek via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 31 05:54:05 PDT 2015
kparzysz added inline comments.
================
Comment at: lib/CodeGen/CodeGenFunction.cpp:1238
@@ -1217,3 +1237,3 @@
}
- Builder.CreateCondBr(CondV, TrueBlock, FalseBlock, Weights);
+ Builder.CreateCondBr(CondV, TrueBlock, FalseBlock, Weights, Unpredictable);
}
----------------
Is the definition of CreateCondBr actually updated somewhere? I didn't see it in any other patch.
http://reviews.llvm.org/D12458
More information about the cfe-commits
mailing list