Skip to content

Commit ae0ee93

Browse files
simpal01amilendra
authored andcommitted
Fix llvm/test/CodeGen/ARM/build-attributes.ll test. (#320)
The test llvm/test/CodeGen/ARM/build-attributes.ll needs updating to incorporate the change #313. Changing the expected FPU to fp-armv8-fullfp16-d16 from fpv5-d16.
1 parent f445004 commit ae0ee93

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

patches/llvm-project.patch

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,3 +456,25 @@ index b65d1b24e63d..3b2c737664f3 100644
456456
emitFPU(STI.hasFeature(ARM::FeatureD32)
457457
? ARM::FK_VFPV4
458458
: (STI.hasFeature(ARM::FeatureFP64) ? ARM::FK_VFPV4_D16
459+
diff --git a/llvm/test/CodeGen/ARM/build-attributes.ll b/llvm/test/CodeGen/ARM/build-attributes.ll
460+
index e8c83b92f3f9..0abe13aeb4fe 100644
461+
--- a/llvm/test/CodeGen/ARM/build-attributes.ll
462+
+++ b/llvm/test/CodeGen/ARM/build-attributes.ll
463+
@@ -1734,7 +1734,7 @@
464+
; CORTEX-M55: .eabi_attribute 7, 77
465+
; CORTEX-M55: .eabi_attribute 8, 0
466+
; CORTEX-M55: .eabi_attribute 9, 3
467+
-; CORTEX-M55: .fpu fpv5-d16
468+
+; CORTEX-M55: .fpu fp-armv8-fullfp16-d16
469+
; CORTEX-M55: .eabi_attribute 36, 1
470+
; CORTEX-M55-NOT: .eabi_attribute 44
471+
; CORTEX-M55: .eabi_attribute 46, 1
472+
@@ -1755,7 +1755,7 @@
473+
; CORTEX-M85: .eabi_attribute 7, 77 @ Tag_CPU_arch_profile
474+
; CORTEX-M85: .eabi_attribute 8, 0 @ Tag_ARM_ISA_use
475+
; CORTEX-M85: .eabi_attribute 9, 3 @ Tag_THUMB_ISA_use
476+
-; CORTEX-M85: .fpu fpv5-d16
477+
+; CORTEX-M85: .fpu fp-armv8-fullfp16-d16
478+
; CORTEX-M85: .eabi_attribute 36, 1 @ Tag_FP_HP_extension
479+
; CORTEX-M85: .eabi_attribute 48, 2 @ Tag_MVE_arch
480+
; CORTEX-M85: .eabi_attribute 46, 1 @ Tag_DSP_extension

0 commit comments

Comments
 (0)