[llvm] 015323f - [NFC] Autogenerate CodeGen/SPARC/LeonInsertNOPLoadPassUT.ll
Amaury Séchet via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 15 06:25:02 PDT 2023
Author: Amaury Séchet
Date: 2023-06-15T13:24:39Z
New Revision: 015323ff9b21086448eb8ea92328244455b82c37
URL: https://github.com/llvm/llvm-project/commit/015323ff9b21086448eb8ea92328244455b82c37
DIFF: https://github.com/llvm/llvm-project/commit/015323ff9b21086448eb8ea92328244455b82c37.diff
LOG: [NFC] Autogenerate CodeGen/SPARC/LeonInsertNOPLoadPassUT.ll
Added:
Modified:
llvm/test/CodeGen/SPARC/LeonInsertNOPLoadPassUT.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/SPARC/LeonInsertNOPLoadPassUT.ll b/llvm/test/CodeGen/SPARC/LeonInsertNOPLoadPassUT.ll
index 9b4ceb7ea6a00..5ee35e68ba818 100644
--- a/llvm/test/CodeGen/SPARC/LeonInsertNOPLoadPassUT.ll
+++ b/llvm/test/CodeGen/SPARC/LeonInsertNOPLoadPassUT.ll
@@ -1,10 +1,23 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 2
; RUN: llc %s -O0 -march=sparc -mcpu=ut699 -o - | FileCheck %s
; RUN: llc %s -O0 -march=sparc -mcpu=leon3 -mattr=+insertnopload -o - | FileCheck %s
-; CHECK-LABEL: ld_float_test
-; CHECK: ld [%o0+%lo(.LCPI0_0)], %f0
-; CHECK-NEXT: nop
define float @ld_float_test() #0 {
+; CHECK-LABEL: ld_float_test:
+; CHECK: .cfi_startproc
+; CHECK-NEXT: ! %bb.0: ! %entry
+; CHECK-NEXT: add %sp, -96, %sp
+; CHECK-NEXT: .cfi_def_cfa_register %fp
+; CHECK-NEXT: .cfi_window_save
+; CHECK-NEXT: .cfi_register %o7, %i7
+; CHECK-NEXT: sethi 1042305, %o0
+; CHECK-NEXT: or %o0, 25, %o0
+; CHECK-NEXT: st %o0, [%sp+92]
+; CHECK-NEXT: sethi %hi(.LCPI0_0), %o0
+; CHECK-NEXT: ld [%o0+%lo(.LCPI0_0)], %f0
+; CHECK-NEXT: nop
+; CHECK-NEXT: retl
+; CHECK-NEXT: add %sp, 96, %sp
entry:
%f = alloca float, align 4
store float 0x3FF3C08320000000, float* %f, align 4
@@ -12,10 +25,14 @@ entry:
ret float %0
}
-; CHECK-LABEL: ld_i32_test
-; CHECK: ld [%o0], %o0
-; CHECK-NEXT: nop
define i32 @ld_i32_test(i32 *%p) {
+; CHECK-LABEL: ld_i32_test:
+; CHECK: .cfi_startproc
+; CHECK-NEXT: ! %bb.0:
+; CHECK-NEXT: ld [%o0], %o0
+; CHECK-NEXT: nop
+; CHECK-NEXT: retl
+; CHECK-NEXT: nop
%res = load i32, i32* %p
ret i32 %res
}
More information about the llvm-commits
mailing list