================
@@ -5,6 +5,34 @@
 // RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -ffixed-point 
-Wno-unused-value -emit-llvm %s -o %t.ll
 // RUN: FileCheck --input-file=%t.ll %s --check-prefix=OGCG
 
+_Fract global_f = 0.5r;
+// CIR: cir.global external @global_f = #cir.int<16384> : !s16i {alignment = 2 
: i64}
+// LLVM: @global_f = global i16 16384, align 2
+// OGCG: @global_f = global i16 16384, align 2
----------------
andykaylor wrote:

Yeah, that sounds good.

https://github.com/llvm/llvm-project/pull/217125
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to