aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorYitzhak Mandelbaum <yitzhakm@google.com>2022-04-01 12:51:23 +0000
committerYitzhak Mandelbaum <yitzhakm@google.com>2022-04-04 12:20:43 +0000
commit506ec85ba82a39748f8fb07c15b93e1e958a9611 (patch)
treefb9583823b33034a6d8ae1f68ccf417e974159e6 /llvm/lib/CodeGen/CodeGen.cpp
parent87b28f5092f2f92fc380f18e8578746bdd2a54b2 (diff)
downloadllvm-506ec85ba82a39748f8fb07c15b93e1e958a9611.zip
llvm-506ec85ba82a39748f8fb07c15b93e1e958a9611.tar.gz
llvm-506ec85ba82a39748f8fb07c15b93e1e958a9611.tar.bz2
[clang][dataflow] Add support for clang's `__builtin_expect`.
This patch adds basic modeling of `__builtin_expect`, just to propagate the (first) argument, making the call transparent. Driveby: adds tests for proper handling of other builtins. Differential Revision: https://reviews.llvm.org/D122908
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions