[llvm] 791bb60 - [X86] fp128-select.ll - remove CFI noise
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 3 05:15:13 PDT 2025
Author: Simon Pilgrim
Date: 2025-07-03T13:14:59+01:00
New Revision: 791bb606b5bd5b7710fc516e8ed8855e1257f186
URL: https://github.com/llvm/llvm-project/commit/791bb606b5bd5b7710fc516e8ed8855e1257f186
DIFF: https://github.com/llvm/llvm-project/commit/791bb606b5bd5b7710fc516e8ed8855e1257f186.diff
LOG: [X86] fp128-select.ll - remove CFI noise
Added:
Modified:
llvm/test/CodeGen/X86/fp128-select.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/X86/fp128-select.ll b/llvm/test/CodeGen/X86/fp128-select.ll
index 0486c1c4d28e9..659e4ddedc646 100644
--- a/llvm/test/CodeGen/X86/fp128-select.ll
+++ b/llvm/test/CodeGen/X86/fp128-select.ll
@@ -8,7 +8,7 @@
; RUN: llc < %s -O2 -mtriple=x86_64-linux-gnu -mattr=-sse \
; RUN: -enable-legalize-types-checking | FileCheck %s --check-prefix=NOSSE
-define void @test_select(ptr %p, ptr %q, i1 zeroext %c) {
+define void @test_select(ptr %p, ptr %q, i1 zeroext %c) nounwind {
; SSE-LABEL: test_select:
; SSE: # %bb.0:
; SSE-NEXT: testl %edx, %edx
@@ -40,14 +40,11 @@ define void @test_select(ptr %p, ptr %q, i1 zeroext %c) {
; The uitofp will become a select_cc. This used to crash during type
; legalization because we didn't expect the operands to need to be softened.
-define fp128 @test_select_cc(fp128, fp128) {
+define fp128 @test_select_cc(fp128, fp128) nounwind {
; SSE-LABEL: test_select_cc:
; SSE: # %bb.0: # %BB0
; SSE-NEXT: pushq %rbx
-; SSE-NEXT: .cfi_def_cfa_offset 16
; SSE-NEXT: subq $32, %rsp
-; SSE-NEXT: .cfi_def_cfa_offset 48
-; SSE-NEXT: .cfi_offset %rbx, -16
; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; SSE-NEXT: movaps %xmm0, (%rsp) # 16-byte Spill
; SSE-NEXT: callq __netf2 at PLT
@@ -70,28 +67,16 @@ define fp128 @test_select_cc(fp128, fp128) {
; SSE-NEXT: movaps %xmm1, %xmm0
; SSE-NEXT: .LBB1_5: # %BB2
; SSE-NEXT: addq $32, %rsp
-; SSE-NEXT: .cfi_def_cfa_offset 16
; SSE-NEXT: popq %rbx
-; SSE-NEXT: .cfi_def_cfa_offset 8
; SSE-NEXT: retq
;
; NOSSE-LABEL: test_select_cc:
; NOSSE: # %bb.0: # %BB0
; NOSSE-NEXT: pushq %rbp
-; NOSSE-NEXT: .cfi_def_cfa_offset 16
; NOSSE-NEXT: pushq %r15
-; NOSSE-NEXT: .cfi_def_cfa_offset 24
; NOSSE-NEXT: pushq %r14
-; NOSSE-NEXT: .cfi_def_cfa_offset 32
; NOSSE-NEXT: pushq %r12
-; NOSSE-NEXT: .cfi_def_cfa_offset 40
; NOSSE-NEXT: pushq %rbx
-; NOSSE-NEXT: .cfi_def_cfa_offset 48
-; NOSSE-NEXT: .cfi_offset %rbx, -48
-; NOSSE-NEXT: .cfi_offset %r12, -40
-; NOSSE-NEXT: .cfi_offset %r14, -32
-; NOSSE-NEXT: .cfi_offset %r15, -24
-; NOSSE-NEXT: .cfi_offset %rbp, -16
; NOSSE-NEXT: movq %rcx, %r15
; NOSSE-NEXT: movq %rdx, %r12
; NOSSE-NEXT: movq %rsi, %rbx
@@ -115,15 +100,10 @@ define fp128 @test_select_cc(fp128, fp128) {
; NOSSE-NEXT: movq %rbx, %rdx
; NOSSE-NEXT: .LBB1_2: # %BB2
; NOSSE-NEXT: popq %rbx
-; NOSSE-NEXT: .cfi_def_cfa_offset 40
; NOSSE-NEXT: popq %r12
-; NOSSE-NEXT: .cfi_def_cfa_offset 32
; NOSSE-NEXT: popq %r14
-; NOSSE-NEXT: .cfi_def_cfa_offset 24
; NOSSE-NEXT: popq %r15
-; NOSSE-NEXT: .cfi_def_cfa_offset 16
; NOSSE-NEXT: popq %rbp
-; NOSSE-NEXT: .cfi_def_cfa_offset 8
; NOSSE-NEXT: retq
BB0:
%a = fcmp oeq fp128 %0, %1
More information about the llvm-commits
mailing list