diff options
author | Farzon Lotfi <1802579+farzonl@users.noreply.github.com> | 2024-09-17 11:35:42 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-17 11:35:42 -0400 |
commit | 0f97b4824a8cf040bd3ce7b644dee9d60065ac61 (patch) | |
tree | 5be486404f7a9e52d73b7ea1deb2290783fc065e /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | f36580fcb535b46deaf659702958b7f203259ecf (diff) | |
download | llvm-0f97b4824a8cf040bd3ce7b644dee9d60065ac61.zip llvm-0f97b4824a8cf040bd3ce7b644dee9d60065ac61.tar.gz llvm-0f97b4824a8cf040bd3ce7b644dee9d60065ac61.tar.bz2 |
[Scalarizer][DirectX] Add support for scalarization of Target intrinsics (#108776)
Since we are using the Scalarizer pass in the backend we needed a way to
allow this pass to operate on Target intrinsics.
We achieved this by adding `TargetTransformInfo ` to the Scalarizer
pass. This allowed us to call a function available to the DirectX
backend to know if an intrinsic is a target intrinsic that should be
scalarized.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions