bob80905 updated this revision to Diff 455343.
bob80905 added a comment.

remove scalar types lld and ld from test since hlsl won't support them


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D132589/new/

https://reviews.llvm.org/D132589

Files:
  clang/lib/Headers/hlsl/hlsl_intrinsics.h
  clang/test/CodeGenHLSL/builtins/acos.hlsl


Index: clang/test/CodeGenHLSL/builtins/acos.hlsl
===================================================================
--- clang/test/CodeGenHLSL/builtins/acos.hlsl
+++ clang/test/CodeGenHLSL/builtins/acos.hlsl
@@ -17,18 +17,3 @@
 
 // CHECK: define noundef float @"?acos_f@@YAMM@Z"(
 // CHECK: call noundef float @acosf(float noundef %0)
-
-long double acos_ld(long double x)
-{
-  return acos(x);
-}
-
-// CHECK: define noundef double @"?acos_ld@@YAOO@Z"(
-// CHECK: call noundef double @acosl(double noundef %0)
-
-/*
-long long double acos_lld(long long double x)
-{
-  return acos(x);
-}
-*/
\ No newline at end of file
Index: clang/lib/Headers/hlsl/hlsl_intrinsics.h
===================================================================
--- clang/lib/Headers/hlsl/hlsl_intrinsics.h
+++ clang/lib/Headers/hlsl/hlsl_intrinsics.h
@@ -15,9 +15,6 @@
 
 __attribute__((clang_builtin_alias(__builtin_acos))) double acos(double In);
 __attribute__((clang_builtin_alias(__builtin_acosf))) float acos(float In);
-__attribute__((clang_builtin_alias(__builtin_acosl))) long double acos(long 
double In);
-//__attribute__((clang_builtin_alias(__builtin_acosf128))) __float128 
acos(__float128 In);
-
 
 
 #endif //_HLSL_HLSL_INTRINSICS_H_


Index: clang/test/CodeGenHLSL/builtins/acos.hlsl
===================================================================
--- clang/test/CodeGenHLSL/builtins/acos.hlsl
+++ clang/test/CodeGenHLSL/builtins/acos.hlsl
@@ -17,18 +17,3 @@
 
 // CHECK: define noundef float @"?acos_f@@YAMM@Z"(
 // CHECK: call noundef float @acosf(float noundef %0)
-
-long double acos_ld(long double x)
-{
-  return acos(x);
-}
-
-// CHECK: define noundef double @"?acos_ld@@YAOO@Z"(
-// CHECK: call noundef double @acosl(double noundef %0)
-
-/*
-long long double acos_lld(long long double x)
-{
-  return acos(x);
-}
-*/
\ No newline at end of file
Index: clang/lib/Headers/hlsl/hlsl_intrinsics.h
===================================================================
--- clang/lib/Headers/hlsl/hlsl_intrinsics.h
+++ clang/lib/Headers/hlsl/hlsl_intrinsics.h
@@ -15,9 +15,6 @@
 
 __attribute__((clang_builtin_alias(__builtin_acos))) double acos(double In);
 __attribute__((clang_builtin_alias(__builtin_acosf))) float acos(float In);
-__attribute__((clang_builtin_alias(__builtin_acosl))) long double acos(long double In);
-//__attribute__((clang_builtin_alias(__builtin_acosf128))) __float128 acos(__float128 In);
-
 
 
 #endif //_HLSL_HLSL_INTRINSICS_H_
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
  • [PATCH] D132589: [HLSL] Add... Joshua Batista via Phabricator via cfe-commits

Reply via email to