[all-commits] [llvm/llvm-project] 506ec8: [clang][dataflow] Add support for clang's `__built...
Yitzhak Mandelbaum via All-commits
all-commits at lists.llvm.org
Mon Apr 4 05:21:01 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 506ec85ba82a39748f8fb07c15b93e1e958a9611
https://github.com/llvm/llvm-project/commit/506ec85ba82a39748f8fb07c15b93e1e958a9611
Author: Yitzhak Mandelbaum <yitzhakm at google.com>
Date: 2022-04-04 (Mon, 04 Apr 2022)
Changed paths:
M clang/lib/Analysis/FlowSensitive/Transfer.cpp
M clang/unittests/Analysis/FlowSensitive/TransferTest.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list