Skip to content

Commit 160076d

Browse files
committed
SPIRV translator pulldown for 90a03aa9.
Fix build and DebugInfo tests after LLVM changes Signed-off-by: Vladimir Lazarev <[email protected]>
1 parent 36ff05f commit 160076d

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

llvm-spirv/lib/SPIRV/SPIRVReader.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1762,6 +1762,7 @@ Value *SPIRVToLLVM::transValueWithoutDecoration(SPIRVValue *BV, Function *F,
17621762
unsigned R2 = V2Ty->getVectorNumElements();
17631763
auto ETy = V1Ty->getElementType();
17641764

1765+
(void)C1;
17651766
assert(C1 == R2 && "Unmatched matrix");
17661767

17671768
auto VTy = VectorType::get(ETy, R1);

llvm-spirv/test/DebugInfo/X86/dw_op_minus_direct.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
; CHECK: .debug_loc contents:
2323
; CHECK: 0x00000000:
24-
; CHECK-NEXT: [0x0000000000000003, 0x0000000000000004): DW_OP_breg0 RAX+0, DW_OP_constu 0xffffffff, DW_OP_and, DW_OP_lit1, DW_OP_minus, DW_OP_stack_value
24+
; CHECK-NEXT: (0x0000000000000003, 0x0000000000000004): DW_OP_breg0 RAX+0, DW_OP_constu 0xffffffff, DW_OP_and, DW_OP_lit1, DW_OP_minus, DW_OP_stack_value
2525
; rax+0, constu 0xffffffff, and, constu 0x00000001, minus, stack-value
2626

2727
source_filename = "minus.c"

llvm-spirv/test/DebugInfo/X86/live-debug-variables.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
; CHECK: .debug_loc contents:
3030
; CHECK-NEXT: 0x00000000:
3131
; We currently emit an entry for the function prologue, too, which could be optimized away.
32-
; CHECK: [0x0000000000000010, 0x0000000000000072): DW_OP_reg3 RBX
32+
; CHECK: (0x0000000000000010, 0x0000000000000072): DW_OP_reg3 RBX
3333
; We should only have one entry inside the function.
3434
; CHECK-NOT: :
3535

0 commit comments

Comments
 (0)