[DirectX backend] Remove Attribute not for DXIL on CallInst
authorXiang Li <python3kgae@outlook.com>
Sun, 4 Sep 2022 23:07:25 +0000 (16:07 -0700)
committerXiang Li <python3kgae@outlook.com>
Tue, 13 Sep 2022 20:45:19 +0000 (13:45 -0700)
commit1e3d4c43442fce3ba68d5a5471d2e77c12745f07
treea673a6421231071ebe74df409f2ecf970ce78934
parentfb5baffc28c8beaf790a2fb1c8a863d29020bfbe
[DirectX backend] Remove Attribute not for DXIL on CallInst

Remove Attribute on CallInst which is not for DXIL when prepare for DXIL.

Reviewed By: beanz

Differential Revision: https://reviews.llvm.org/D133279
llvm/lib/Target/DirectX/CMakeLists.txt
llvm/lib/Target/DirectX/DXILPrepare.cpp
llvm/test/CodeGen/DirectX/strip-call-attrs.ll [new file with mode: 0644]