summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/Windows
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2019-06-19 00:25:39 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2019-06-19 00:25:39 +0000
commit9cac4e6d1403554b06ec2fc9d834087b1234b695 (patch)
tree9958cd3309f50e57290362076df149ac5c442705 /llvm/test/CodeGen/ARM/Windows
parent1885747498c2730e47fee42a0c59492d09f4352f (diff)
downloadbcm5719-llvm-9cac4e6d1403554b06ec2fc9d834087b1234b695.tar.gz
bcm5719-llvm-9cac4e6d1403554b06ec2fc9d834087b1234b695.zip
Rename ExpandISelPseudo->FinalizeISel, delay register reservation
This allows targets to make more decisions about reserved registers after isel. For example, now it should be certain there are calls or stack objects in the frame or not, which could have been introduced by legalization. Patch by Matthias Braun llvm-svn: 363757
Diffstat (limited to 'llvm/test/CodeGen/ARM/Windows')
-rw-r--r--llvm/test/CodeGen/ARM/Windows/dbzchk.ll6
-rw-r--r--llvm/test/CodeGen/ARM/Windows/vla-cpsr.ll2
2 files changed, 4 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/ARM/Windows/dbzchk.ll b/llvm/test/CodeGen/ARM/Windows/dbzchk.ll
index 324808cb0bf..365951080d4 100644
--- a/llvm/test/CodeGen/ARM/Windows/dbzchk.ll
+++ b/llvm/test/CodeGen/ARM/Windows/dbzchk.ll
@@ -1,4 +1,4 @@
-; RUN: llc -mtriple thumbv7--windows-itanium -print-machineinstrs=expand-isel-pseudos -verify-machineinstrs -o /dev/null %s 2>&1 | FileCheck %s -check-prefix CHECK-DIV
+; RUN: llc -mtriple thumbv7--windows-itanium -print-after=finalize-isel -verify-machineinstrs -o /dev/null %s 2>&1 | FileCheck %s -check-prefix CHECK-DIV
; int f(int n, int d) {
; if (n / d)
@@ -40,7 +40,7 @@ return:
; CHECK-DIV-DAG: successors: %bb.3
; CHECK-DIV-DAG: %bb.3
-; RUN: llc -mtriple thumbv7--windows-itanium -print-machineinstrs=expand-isel-pseudos -verify-machineinstrs -o /dev/null %s 2>&1 | FileCheck %s -check-prefix CHECK-MOD
+; RUN: llc -mtriple thumbv7--windows-itanium -print-after=finalize-isel -verify-machineinstrs -o /dev/null %s 2>&1 | FileCheck %s -check-prefix CHECK-MOD
; int r;
; int g(int l, int m) {
@@ -74,7 +74,7 @@ return:
; CHECK-MOD-DAG: successors: %bb.2
; CHECK-MOD-DAG: %bb.2
-; RUN: llc -mtriple thumbv7--windows-itanium -print-machineinstrs=expand-isel-pseudos -verify-machineinstrs -filetype asm -o /dev/null %s 2>&1 | FileCheck %s -check-prefix CHECK-CFG
+; RUN: llc -mtriple thumbv7--windows-itanium -print-after=finalize-isel -verify-machineinstrs -filetype asm -o /dev/null %s 2>&1 | FileCheck %s -check-prefix CHECK-CFG
; RUN: llc -mtriple thumbv7--windows-itanium -verify-machineinstrs -filetype asm -o - %s | FileCheck %s -check-prefix CHECK-CFG-ASM
; unsigned c;
diff --git a/llvm/test/CodeGen/ARM/Windows/vla-cpsr.ll b/llvm/test/CodeGen/ARM/Windows/vla-cpsr.ll
index 1dabb880d61..88af4475bfb 100644
--- a/llvm/test/CodeGen/ARM/Windows/vla-cpsr.ll
+++ b/llvm/test/CodeGen/ARM/Windows/vla-cpsr.ll
@@ -1,4 +1,4 @@
-; RUN: llc -mtriple thumbv7-windows-itanium -filetype asm -o /dev/null %s -print-machineinstrs=expand-isel-pseudos 2>&1 | FileCheck %s
+; RUN: llc -mtriple thumbv7-windows-itanium -filetype asm -o /dev/null %s -print-after=finalize-isel 2>&1 | FileCheck %s
declare arm_aapcs_vfpcc void @g(i8*) local_unnamed_addr
OpenPOWER on IntegriCloud