[llvm] r297857 - [GlobalISel][AArch64] Use appropriate test function names. NFC.
Ahmed Bougacha via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 15 09:29:40 PDT 2017
Author: ab
Date: Wed Mar 15 11:29:40 2017
New Revision: 297857
URL: http://llvm.org/viewvc/llvm-project?rev=297857&view=rev
Log:
[GlobalISel][AArch64] Use appropriate test function names. NFC.
These FP tests are on FPR, not GPR. Don't lie in the name.
Modified:
llvm/trunk/test/CodeGen/AArch64/GlobalISel/select-binop.mir
Modified: llvm/trunk/test/CodeGen/AArch64/GlobalISel/select-binop.mir
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/AArch64/GlobalISel/select-binop.mir?rev=297857&r1=297856&r2=297857&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/AArch64/GlobalISel/select-binop.mir (original)
+++ llvm/trunk/test/CodeGen/AArch64/GlobalISel/select-binop.mir Wed Mar 15 11:29:40 2017
@@ -39,17 +39,17 @@
define void @udiv_s32_gpr() { ret void }
define void @udiv_s64_gpr() { ret void }
- define void @fadd_s32_gpr() { ret void }
- define void @fadd_s64_gpr() { ret void }
+ define void @fadd_s32_fpr() { ret void }
+ define void @fadd_s64_fpr() { ret void }
- define void @fsub_s32_gpr() { ret void }
- define void @fsub_s64_gpr() { ret void }
+ define void @fsub_s32_fpr() { ret void }
+ define void @fsub_s64_fpr() { ret void }
- define void @fmul_s32_gpr() { ret void }
- define void @fmul_s64_gpr() { ret void }
+ define void @fmul_s32_fpr() { ret void }
+ define void @fmul_s64_fpr() { ret void }
- define void @fdiv_s32_gpr() { ret void }
- define void @fdiv_s64_gpr() { ret void }
+ define void @fdiv_s32_fpr() { ret void }
+ define void @fdiv_s64_fpr() { ret void }
...
@@ -755,8 +755,8 @@ body: |
---
# Check that we select a s32 FPR G_FADD into FADDSrr.
-# CHECK-LABEL: name: fadd_s32_gpr
-name: fadd_s32_gpr
+# CHECK-LABEL: name: fadd_s32_fpr
+name: fadd_s32_fpr
legalized: true
regBankSelected: true
@@ -783,8 +783,8 @@ body: |
...
---
-# CHECK-LABEL: name: fadd_s64_gpr
-name: fadd_s64_gpr
+# CHECK-LABEL: name: fadd_s64_fpr
+name: fadd_s64_fpr
legalized: true
regBankSelected: true
@@ -811,8 +811,8 @@ body: |
...
---
-# CHECK-LABEL: name: fsub_s32_gpr
-name: fsub_s32_gpr
+# CHECK-LABEL: name: fsub_s32_fpr
+name: fsub_s32_fpr
legalized: true
regBankSelected: true
@@ -839,8 +839,8 @@ body: |
...
---
-# CHECK-LABEL: name: fsub_s64_gpr
-name: fsub_s64_gpr
+# CHECK-LABEL: name: fsub_s64_fpr
+name: fsub_s64_fpr
legalized: true
regBankSelected: true
@@ -867,8 +867,8 @@ body: |
...
---
-# CHECK-LABEL: name: fmul_s32_gpr
-name: fmul_s32_gpr
+# CHECK-LABEL: name: fmul_s32_fpr
+name: fmul_s32_fpr
legalized: true
regBankSelected: true
@@ -895,8 +895,8 @@ body: |
...
---
-# CHECK-LABEL: name: fmul_s64_gpr
-name: fmul_s64_gpr
+# CHECK-LABEL: name: fmul_s64_fpr
+name: fmul_s64_fpr
legalized: true
regBankSelected: true
@@ -923,8 +923,8 @@ body: |
...
---
-# CHECK-LABEL: name: fdiv_s32_gpr
-name: fdiv_s32_gpr
+# CHECK-LABEL: name: fdiv_s32_fpr
+name: fdiv_s32_fpr
legalized: true
regBankSelected: true
@@ -951,8 +951,8 @@ body: |
...
---
-# CHECK-LABEL: name: fdiv_s64_gpr
-name: fdiv_s64_gpr
+# CHECK-LABEL: name: fdiv_s64_fpr
+name: fdiv_s64_fpr
legalized: true
regBankSelected: true
More information about the llvm-commits
mailing list