================
@@ -276,6 +276,29 @@ llvm::Triple::ArchType CGHLSLRuntime::getArch() {
return CGM.getTarget().getTriple().getArch();
}
+llvm::Intrinsic::ID
+CGHLSLRuntime::getUnsignedIntrinsicVariant(llvm::Intrinsic::ID IID) {
----------------
kcloudy0717 wrote:
Alright, I'll revert the changes I made and use the same approach as
`getWaveActiveSumIntrinsic` static function in `CGHLSLBuiltins.cpp` for now.
The refactor will be made in another NFC PR but it might not be needed given
the feedback from @farzonl below.
https://github.com/llvm/llvm-project/pull/167946
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits