[clang] 9aa54db - Revert "Disable test for __builtin_set_flt_rounds to avoid breaking PPC buildbot"

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 9 05:03:14 PST 2023


Author: Aaron Ballman
Date: 2023-03-09T08:01:55-05:00
New Revision: 9aa54db44c5b057669d507c0cd4689062750487e

URL: https://github.com/llvm/llvm-project/commit/9aa54db44c5b057669d507c0cd4689062750487e
DIFF: https://github.com/llvm/llvm-project/commit/9aa54db44c5b057669d507c0cd4689062750487e.diff

LOG: Revert "Disable test for __builtin_set_flt_rounds to avoid breaking PPC buildbot"

This reverts commit d4fcc692ee15b2c6d249daabe31208d6a5afa025.

(This change removed all test coverage from a previous change, also to be reverted.)

Added: 
    

Modified: 
    clang/test/CodeGen/builtins.c

Removed: 
    


################################################################################
diff  --git a/clang/test/CodeGen/builtins.c b/clang/test/CodeGen/builtins.c
index 1281c5e13ae3e..d523d3100c04c 100644
--- a/clang/test/CodeGen/builtins.c
+++ b/clang/test/CodeGen/builtins.c
@@ -278,6 +278,8 @@ void test_float_builtins(__fp16 *H, float F, double D, long double LD) {
 
   res = __builtin_flt_rounds();
   // CHECK: call i32 @llvm.get.rounding(
+  __builtin_set_flt_rounds(1);
+  // CHECK: call void @llvm.set.rounding(i32 1)
 }
 
 // CHECK-LABEL: define{{.*}} void @test_float_builtin_ops


        


More information about the cfe-commits mailing list