Skip to content

Commit f60e828

Browse files
AdUhTkJmlanza
authored andcommitted
[CIR] Un-xfail variadic calls (#1517)
This un-xfails the 6 files in #1497 related to variadic calls.
1 parent beccc39 commit f60e828

File tree

6 files changed

+1
-6
lines changed

6 files changed

+1
-6
lines changed

clang/lib/CIR/Dialect/IR/CIRDialect.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2369,7 +2369,7 @@ ParseResult cir::FuncOp::parse(OpAsmParser &parser, OperationState &state) {
23692369
// Parse the function signature.
23702370
bool isVariadic = false;
23712371
if (function_interface_impl::parseFunctionSignatureWithArguments(
2372-
parser, /*allowVariadic=*/false, arguments, isVariadic, resultTypes,
2372+
parser, /*allowVariadic=*/true, arguments, isVariadic, resultTypes,
23732373
resultAttrs))
23742374
return failure();
23752375

clang/test/CIR/IR/func.cir

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// RUN: cir-opt %s | FileCheck %s
2-
// XFAIL: *
32

43
!s32i = !cir.int<s, 32>
54
!u8i = !cir.int<u, 8>

clang/test/CIR/IR/invalid.cir

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// Test attempts to build bogus CIR
22
// RUN: cir-opt %s -verify-diagnostics -split-input-file
3-
// XFAIL: *
43

54
!u32i = !cir.int<u, 32>
65

clang/test/CIR/Lowering/func.cir

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// RUN: cir-opt %s -cir-to-llvm -o %t.mlir
22
// RUN: FileCheck %s -check-prefix=MLIR --input-file=%t.mlir
3-
// XFAIL: *
43

54
!s32i = !cir.int<s, 32>
65
module {

clang/test/CIR/Lowering/hello.cir

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// RUN: cir-opt %s -cir-to-llvm -o %t.mlir
22
// RUN: FileCheck --input-file=%t.mlir %s
3-
// XFAIL: *
43

54
!s32i = !cir.int<s, 32>
65
!s8i = !cir.int<s, 8>

clang/test/CIR/Lowering/variadics.cir

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// RUN: cir-opt %s -cir-to-llvm -o %t.cir
22
// RUN: FileCheck --input-file=%t.cir %s -check-prefix=MLIR
3-
// XFAIL: *
43

54
!s32i = !cir.int<s, 32>
65
!u32i = !cir.int<u, 32>

0 commit comments

Comments
 (0)