Files
clang-p2996/llvm/test/CodeGen/SystemZ/isel-debug.ll
Daniil Kovalev 83a798d4b0 [CodeGen] Place SDNode debug ID declaration under appropriate #if
Place PersistentId declaration under #if LLVM_ENABLE_ABI_BREAKING_CHECKS to
reduce memory usage when it is not needed.

Differential Revision: https://reviews.llvm.org/D120714
2022-04-06 14:09:32 +03:00

20 lines
520 B
LLVM

; RUN: llc < %s -mtriple=s390x-linux-gnu -debug-only=systemz-isel -o - 2>&1 | \
; RUN: FileCheck %s
; REQUIRES: asserts, abi_breaking_checks
;
; Check that some debug output is printed without problems.
; CHECK: SystemZAddressingMode
; CHECK: Base t5: i64,ch = load<(load (s64) from %ir.0)>
; CHECK: Index
; CHECK: Disp
define void @fun(i64* %ptr) {
entry:
%0 = bitcast i64* %ptr to i32**
%1 = load i32*, i32** %0, align 8
%xpv_pv = getelementptr inbounds i32, i32* %1
store i32 0, i32* %xpv_pv
ret void
}