[llvm] r356761 - [x86] add 'nounwind' to tests to reduce noise; NFC

Sanjay Patel via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 22 08:33:51 PDT 2019


Author: spatel
Date: Fri Mar 22 08:33:51 2019
New Revision: 356761

URL: http://llvm.org/viewvc/llvm-project?rev=356761&view=rev
Log:
[x86] add 'nounwind' to tests to reduce noise; NFC

Modified:
    llvm/trunk/test/CodeGen/X86/cmovcmov.ll

Modified: llvm/trunk/test/CodeGen/X86/cmovcmov.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/cmovcmov.ll?rev=356761&r1=356760&r2=356761&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/cmovcmov.ll (original)
+++ llvm/trunk/test/CodeGen/X86/cmovcmov.ll Fri Mar 22 08:33:51 2019
@@ -8,7 +8,7 @@ target datalayout = "e-m:o-i64:64-f80:12
 ; One way to do that is with (select (fcmp une/oeq)), which gets
 ; legalized to setp/setne.
 
-define i32 @test_select_fcmp_oeq_i32(float %a, float %b, i32 %c, i32 %d) #0 {
+define i32 @test_select_fcmp_oeq_i32(float %a, float %b, i32 %c, i32 %d) nounwind {
 ; CMOV-LABEL: test_select_fcmp_oeq_i32:
 ; CMOV:       # %bb.0: # %entry
 ; CMOV-NEXT:    movl %edi, %eax
@@ -40,7 +40,7 @@ entry:
   ret i32 %r
 }
 
-define i64 @test_select_fcmp_oeq_i64(float %a, float %b, i64 %c, i64 %d) #0 {
+define i64 @test_select_fcmp_oeq_i64(float %a, float %b, i64 %c, i64 %d) nounwind {
 ; CMOV-LABEL: test_select_fcmp_oeq_i64:
 ; CMOV:       # %bb.0: # %entry
 ; CMOV-NEXT:    movq %rdi, %rax
@@ -73,7 +73,7 @@ entry:
   ret i64 %r
 }
 
-define i64 @test_select_fcmp_une_i64(float %a, float %b, i64 %c, i64 %d) #0 {
+define i64 @test_select_fcmp_une_i64(float %a, float %b, i64 %c, i64 %d) nounwind {
 ; CMOV-LABEL: test_select_fcmp_une_i64:
 ; CMOV:       # %bb.0: # %entry
 ; CMOV-NEXT:    movq %rsi, %rax
@@ -106,7 +106,7 @@ entry:
   ret i64 %r
 }
 
-define double @test_select_fcmp_oeq_f64(float %a, float %b, double %c, double %d) #0 {
+define double @test_select_fcmp_oeq_f64(float %a, float %b, double %c, double %d) nounwind {
 ; CMOV-LABEL: test_select_fcmp_oeq_f64:
 ; CMOV:       # %bb.0: # %entry
 ; CMOV-NEXT:    ucomiss %xmm1, %xmm0
@@ -142,7 +142,7 @@ entry:
   ret double %r
 }
 
-define <4 x i32> @test_select_fcmp_oeq_v4i32(float %a, float %b, <4 x i32> %c, <4 x i32> %d) #0 {
+define <4 x i32> @test_select_fcmp_oeq_v4i32(float %a, float %b, <4 x i32> %c, <4 x i32> %d) nounwind {
 ; CMOV-LABEL: test_select_fcmp_oeq_v4i32:
 ; CMOV:       # %bb.0: # %entry
 ; CMOV-NEXT:    ucomiss %xmm1, %xmm0
@@ -213,7 +213,7 @@ entry:
 
 ; Also make sure we catch the original code-sequence of interest:
 
-define float @test_zext_fcmp_une(float %a, float %b) #0 {
+define float @test_zext_fcmp_une(float %a, float %b) nounwind {
 ; CMOV-LABEL: test_zext_fcmp_une:
 ; CMOV:       # %bb.0: # %entry
 ; CMOV-NEXT:    ucomiss %xmm1, %xmm0
@@ -256,7 +256,7 @@ entry:
   ret float %conv2
 }
 
-define float @test_zext_fcmp_oeq(float %a, float %b) #0 {
+define float @test_zext_fcmp_oeq(float %a, float %b) nounwind {
 ; CMOV-LABEL: test_zext_fcmp_oeq:
 ; CMOV:       # %bb.0: # %entry
 ; CMOV-NEXT:    ucomiss %xmm1, %xmm0
@@ -321,7 +321,7 @@ attributes #0 = { nounwind }
 ;   %13 = COPY %12
 ; Which was invalid as %12 is not the same value as %13
 
-define void @no_cascade_opt(i32 %v0, i32 %v1, i32 %v2, i32 %v3) {
+define void @no_cascade_opt(i32 %v0, i32 %v1, i32 %v2, i32 %v3) nounwind {
 ; CMOV-LABEL: no_cascade_opt:
 ; CMOV:       # %bb.0: # %entry
 ; CMOV-NEXT:    cmpl %edx, %esi




More information about the llvm-commits mailing list