Skip to content

Commit 2111f68

Browse files
sitio-coutoxlauko
authored andcommitted
[CIR][Lowering][Bugfix] Fix GetMemberOp lowering (llvm#273)
The wrong element type was being passed to LLVM's GEP op, generating an invalid IR. Tests were also updated to properly validate the `llvm.getelementptr` element type. Fixes llvm#272
1 parent 46fb456 commit 2111f68

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

clang/test/CIR/Lowering/struct.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
!u8i = !cir.int<u, 8>

0 commit comments

Comments
 (0)