diff options
| author | Justin Holewinski <jholewinski@nvidia.com> | 2014-12-02 12:58:24 +0000 |
|---|---|---|
| committer | Justin Holewinski <jholewinski@nvidia.com> | 2014-12-02 12:58:24 +0000 |
| commit | 6e9bfa344ca7971f1f9b71efdd6452ad877e5483 (patch) | |
| tree | b59b676b02016d207fd6127fd2207d9e0bae78b8 /clang/test/CodeGen/builtins-nvptx.c | |
| parent | cdfa931db9f6f2b52fb055a9ea7e2bd9102eee89 (diff) | |
| download | bcm5719-llvm-6e9bfa344ca7971f1f9b71efdd6452ad877e5483.tar.gz bcm5719-llvm-6e9bfa344ca7971f1f9b71efdd6452ad877e5483.zip | |
[NVPTX] Fix type error for some builtins in BuiltinsNVPTX.def
llvm-svn: 223116
Diffstat (limited to 'clang/test/CodeGen/builtins-nvptx.c')
| -rw-r--r-- | clang/test/CodeGen/builtins-nvptx.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/test/CodeGen/builtins-nvptx.c b/clang/test/CodeGen/builtins-nvptx.c index cee9061292b..5f91f7ad3b0 100644 --- a/clang/test/CodeGen/builtins-nvptx.c +++ b/clang/test/CodeGen/builtins-nvptx.c @@ -155,6 +155,8 @@ void nvvm_math(float f1, float f2, double d1, double d2) { float t3 = __nvvm_sqrt_rn_f(f1); // CHECK: call float @llvm.nvvm.rcp.rn.f float t4 = __nvvm_rcp_rn_f(f2); +// CHECK: call float @llvm.nvvm.add.rn.f + float t5 = __nvvm_add_rn_f(f1, f2); // CHECK: call double @llvm.nvvm.fmax.d double td1 = __nvvm_fmax_d(d1, d2); |

