diff options
author | Sarah Spall <spall@users.noreply.github.com> | 2024-09-09 11:07:20 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-09 11:07:20 -0700 |
commit | 0f349b7a9cde0080e626f6cfd362885341eb63b4 (patch) | |
tree | b841d6240a35b22e0fe7fdb23a2d6135f8c0a72c /clang/lib/CodeGen/CodeGenFunction.h | |
parent | 34e3007c69eb91c16f23f20548305a2fb8feb75e (diff) | |
download | llvm-0f349b7a9cde0080e626f6cfd362885341eb63b4.zip llvm-0f349b7a9cde0080e626f6cfd362885341eb63b4.tar.gz llvm-0f349b7a9cde0080e626f6cfd362885341eb63b4.tar.bz2 |
[HLSL] Implement support for HLSL intrinsic - select (#107129)
Implement support for HLSL intrinsic select.
This would close issue #75377
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index 5892d6a..4eca770 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -4704,7 +4704,8 @@ public: llvm::Value *EmitX86BuiltinExpr(unsigned BuiltinID, const CallExpr *E); llvm::Value *EmitPPCBuiltinExpr(unsigned BuiltinID, const CallExpr *E); llvm::Value *EmitAMDGPUBuiltinExpr(unsigned BuiltinID, const CallExpr *E); - llvm::Value *EmitHLSLBuiltinExpr(unsigned BuiltinID, const CallExpr *E); + llvm::Value *EmitHLSLBuiltinExpr(unsigned BuiltinID, const CallExpr *E, + ReturnValueSlot ReturnValue); llvm::Value *EmitScalarOrConstFoldImmArg(unsigned ICEArguments, unsigned Idx, const CallExpr *E); llvm::Value *EmitSystemZBuiltinExpr(unsigned BuiltinID, const CallExpr *E); |