aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorFarzon Lotfi <farzonlotfi@microsoft.com>2025-02-25 13:09:41 -0800
committerGitHub <noreply@github.com>2025-02-25 16:09:41 -0500
commit0be3f134c3b0bea0a3f32db55258c776caf616fb (patch)
tree6c227d7a964d4fa029a44c9ac116d59b337ef4bf /clang/lib/CodeGen/CodeGenModule.cpp
parent303d7fa867407e9763f329e94a271e652ccb9ed0 (diff)
downloadllvm-0be3f134c3b0bea0a3f32db55258c776caf616fb.zip
llvm-0be3f134c3b0bea0a3f32db55258c776caf616fb.tar.gz
llvm-0be3f134c3b0bea0a3f32db55258c776caf616fb.tar.bz2
[DirectX] only allow intrinsics defined in DXIL.td (#128613)
Fixes #128071 The current behavior lets intrinsics that don't map to a DXILOP slip through. Nothing catches this until we hit the DXIL validator. This change fails earlier so we don't encode invalid llvm intrinsics that can slip through because of clang builtins like `__builtin_reduce_and` example: https://hlsl.godbolt.org/z/13rPj18vn
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions