================
@@ -0,0 +1,56 @@
+// RUN: cir-opt %s -cir-call-conv-lowering=target=x86_64 | FileCheck %s
+// RUN: cir-opt %s -cir-call-conv-lowering=target=x86_64 -cir-to-llvm -o - 
2>/dev/null \
+// RUN:   | mlir-translate -mlir-to-llvmir --allow-unregistered-dialect \
+// RUN:   | FileCheck %s --check-prefix=LLVM
+
+!s128i = !cir.int<s, 128>
+!u128i = !cir.int<u, 128>
+!rec_S1 = !cir.struct<"S1" {!s128i}>
+
+module attributes {
+  dlti.dl_spec = #dlti.dl_spec<
+    #dlti.dl_entry<i8, dense<8>: vector<2xi64>>,
+    #dlti.dl_entry<i128, dense<128>: vector<2xi64>>>
+} {
+
+  // A signed __int128 is Direct: it passes in a pair of integer registers, so
----------------
andykaylor wrote:

Again, the comment here mentions two registers, but the check below has a 
single value. The comment is technically correct, but it has nothing to do with 
this test.

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

Reply via email to