Revert " [LoongArch][ISel] Check the number of sign bits in `PatGprGpr_32` (#107432)"
[llvm-project.git] / llvm / test / CodeGen / PowerPC / aix-emit-tracebacktable-vectorinfo_hasvarg.ll
blob8c0a58929742c1719b5e5047d29cadcbaa3c6108
1 ; RUN:  llc -verify-machineinstrs -mtriple powerpc-ibm-aix-xcoff -mcpu=pwr7 \
2 ; RUN:     -mattr=+altivec  -vec-extabi -xcoff-traceback-table=true 2>&1 < %s | \
3 ; RUN:   FileCheck --check-prefixes=CHECK-ASM %s 
5 ;; void f(vector float vf, ...) {
6 ;;}
8 define void @f(<4 x float> %vf, ...) #0 {
9 entry:
10   %vf.addr = alloca <4 x float>, align 16
11   store <4 x float> %vf, ptr %vf.addr, align 16
12   ret void
15 ;CHECK-ASM:             .vbyte  4, 0x00000000                   # Traceback table begin
16 ;CHECK-ASM-NEXT:        .byte   0x00                            # Version = 0
17 ;CHECK-ASM-NEXT:        .byte   0x09                            # Language = CPlusPlus
18 ;CHECK-ASM-NEXT:        .byte   0x20                            # -IsGlobaLinkage, -IsOutOfLineEpilogOrPrologue
19 ;CHECK-ASM-NEXT:                                         # +HasTraceBackTableOffset, -IsInternalProcedure
20 ;CHECK-ASM-NEXT:                                         # -HasControlledStorage, -IsTOCless
21 ;CHECK-ASM-NEXT:                                         # -IsFloatingPointPresent
22 ;CHECK-ASM-NEXT:                                         # -IsFloatingPointOperationLogOrAbortEnabled
23 ;CHECK-ASM-NEXT:        .byte   0x40                            # -IsInterruptHandler, +IsFunctionNamePresent, -IsAllocaUsed
24 ;CHECK-ASM-NEXT:                                         # OnConditionDirective = 0, -IsCRSaved, -IsLRSaved
25 ;CHECK-ASM-NEXT:        .byte   0x00                            # -IsBackChainStored, -IsFixup, NumOfFPRsSaved = 0
26 ;CHECK-ASM-NEXT:        .byte   0x40                            # -HasExtensionTable, +HasVectorInfo, NumOfGPRsSaved = 0
27 ;CHECK-ASM-NEXT:        .byte   0x00                            # NumberOfFixedParms = 0
28 ;CHECK-ASM-NEXT:        .byte   0x01                            # NumberOfFPParms = 0, +HasParmsOnStack
29 ;CHECK-ASM-NEXT:        .vbyte  4, L..f0-.f                     # Function size
30 ;CHECK-ASM-NEXT:        .vbyte  2, 0x0001                       # Function name len = 1
31 ;CHECK-ASM-NEXT:        .byte   102                             # Function Name
32 ;CHECK-ASM-NEXT:        .byte   0x01                            # NumOfVRsSaved = 0, -IsVRSavedOnStack, +HasVarArgs
33 ;CHECK-ASM-NEXT:        .byte   0x03                            # NumOfVectorParams = 1, +HasVMXInstruction
34 ;CHECK-ASM-NEXT:        .vbyte  4, 0xc0000000                   # Vector Parameter type = vf
35 ;CHECK-ASM-NEXT:        .vbyte  2, 0x0000                       # Padding 
36 ;CHECK-ASM-NEXT:                                         # -- End function