diff options
author | Andrew Litteken <andrew.litteken@gmail.com> | 2021-12-22 18:07:43 -0600 |
---|---|---|
committer | Andrew Litteken <andrew.litteken@gmail.com> | 2022-01-28 13:52:21 -0600 |
commit | 3785c1d05501775629c1b943459b97eab6c739ec (patch) | |
tree | f5be0980977a425614e52750d035aa439f7cb203 /clang/lib/Frontend/InitPreprocessor.cpp | |
parent | 33b38339a0961c04ce32a6656aa54293d5ca4790 (diff) | |
download | llvm-3785c1d05501775629c1b943459b97eab6c739ec.zip llvm-3785c1d05501775629c1b943459b97eab6c739ec.tar.gz llvm-3785c1d05501775629c1b943459b97eab6c739ec.tar.bz2 |
[IRSim][IROutliner] Allowing Intrinsic Calls to be Used in Similarity Matching and Outlined Regions
Due to some complications with lifetime, and assume-like intrinsics, intrinsics were not included as outlinable instructions. This patch opens up most intrinsics, excluding lifetime and assume-like intrinsics, to be outlined. For similarity, it is required that the intrinsic IDs, and the intrinsics names match exactly, as well as the function type. This puts intrinsics in a different class than normal call instructions (https://reviews.llvm.org/D109448), where the name will no longer have to match.
This also adds an additional command line flag debug option to disable outlining intrinsics.
Recommit of: 8de76bd569732acae6a10fdcb0152a49f7d4cd39
Adds extra checking of intrinsic function calls names to avoid taking the address of intrinsic calls when extracting function calls.
Reviewers: paquette, jroelofs
Differential Revision: https://reviews.llvm.org/D109450
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions