diff options
| author | Eli Friedman <efriedma@codeaurora.org> | 2018-10-30 19:24:51 +0000 |
|---|---|---|
| committer | Eli Friedman <efriedma@codeaurora.org> | 2018-10-30 19:24:51 +0000 |
| commit | 93d0129b78ca6b9b84ad0af1e2e42b9d3d92754c (patch) | |
| tree | 25c7346ae3800a5b4ef3dadc0badda6bd7ae169f /llvm/test/CodeGen | |
| parent | 1f786b8d959e4d54e4c61254dcecb9ab8112851e (diff) | |
| download | bcm5719-llvm-93d0129b78ca6b9b84ad0af1e2e42b9d3d92754c.tar.gz bcm5719-llvm-93d0129b78ca6b9b84ad0af1e2e42b9d3d92754c.zip | |
[AArch64] [Windows] SEH opcodes should be scheduling boundaries.
Prevents the post-RA scheduler from modifying the prologue sequences
emitting by frame lowering. This is roughly similar to what we do for
other targets: TargetInstrInfo::isSchedulingBoundary checks
isPosition(), which checks for CFI_INSTRUCTION.
isSEHInstruction is taken from D50288; it'll land with whatever patch
lands first.
Differential Revision: https://reviews.llvm.org/D53851
llvm-svn: 345634
Diffstat (limited to 'llvm/test/CodeGen')
| -rw-r--r-- | llvm/test/CodeGen/AArch64/wineh1.mir | 2 | ||||
| -rw-r--r-- | llvm/test/CodeGen/AArch64/wineh2.mir | 2 | ||||
| -rw-r--r-- | llvm/test/CodeGen/AArch64/wineh3.mir | 2 | ||||
| -rw-r--r-- | llvm/test/CodeGen/AArch64/wineh4.mir | 2 | ||||
| -rw-r--r-- | llvm/test/CodeGen/AArch64/wineh5.mir | 2 | ||||
| -rw-r--r-- | llvm/test/CodeGen/AArch64/wineh6.mir | 2 | ||||
| -rw-r--r-- | llvm/test/CodeGen/AArch64/wineh7.mir | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/llvm/test/CodeGen/AArch64/wineh1.mir b/llvm/test/CodeGen/AArch64/wineh1.mir index 6df9c638e65..c89daf1ce22 100644 --- a/llvm/test/CodeGen/AArch64/wineh1.mir +++ b/llvm/test/CodeGen/AArch64/wineh1.mir @@ -1,4 +1,4 @@ -# RUN: llc -o - %s -mtriple=aarch64-windows -start-after=prologepilog -filetype=obj -disable-post-ra \ +# RUN: llc -o - %s -mtriple=aarch64-windows -start-after=prologepilog -filetype=obj \ # RUN: | llvm-readobj -unwind | FileCheck %s # This test case checks the basic validity of the .xdata section. It's # documented at: diff --git a/llvm/test/CodeGen/AArch64/wineh2.mir b/llvm/test/CodeGen/AArch64/wineh2.mir index 29b20963444..e2c31fd56ce 100644 --- a/llvm/test/CodeGen/AArch64/wineh2.mir +++ b/llvm/test/CodeGen/AArch64/wineh2.mir @@ -1,5 +1,5 @@ # RUN: llc -o - %s -mtriple=aarch64-windows -start-after=prologepilog \ -# RUN: -disable-post-ra -filetype=obj | llvm-readobj -unwind | FileCheck %s +# RUN: -filetype=obj | llvm-readobj -unwind | FileCheck %s # Test that the pre/post increment save of a flating point register is correct. # CHECK: ExceptionData { diff --git a/llvm/test/CodeGen/AArch64/wineh3.mir b/llvm/test/CodeGen/AArch64/wineh3.mir index 6d54430cfc5..ffca6c157a3 100644 --- a/llvm/test/CodeGen/AArch64/wineh3.mir +++ b/llvm/test/CodeGen/AArch64/wineh3.mir @@ -1,5 +1,5 @@ # RUN: llc -o - %s -mtriple=aarch64-windows -start-after=prologepilog \ -# RUN: -disable-post-ra -filetype=obj | llvm-readobj -unwind | FileCheck %s +# RUN: -filetype=obj | llvm-readobj -unwind | FileCheck %s # Test that the register pairing of both general purpose and floating point # registers is correctly saved in the .xdata section, as well as the pre/post # increment of floating point register pairs. diff --git a/llvm/test/CodeGen/AArch64/wineh4.mir b/llvm/test/CodeGen/AArch64/wineh4.mir index 39a0d7ec694..4d4cc892c2e 100644 --- a/llvm/test/CodeGen/AArch64/wineh4.mir +++ b/llvm/test/CodeGen/AArch64/wineh4.mir @@ -1,5 +1,5 @@ # RUN: llc -o - %s -mtriple=aarch64-windows -start-after=prologepilog \ -# RUN: -disable-branch-fold -disable-post-ra -filetype=obj \ +# RUN: -disable-branch-fold -filetype=obj \ # RUN: | llvm-readobj -unwind | FileCheck %s # Check that multiple epilgoues are correctly placed in .xdata. diff --git a/llvm/test/CodeGen/AArch64/wineh5.mir b/llvm/test/CodeGen/AArch64/wineh5.mir index f1fa6d4d47b..c47bad5d290 100644 --- a/llvm/test/CodeGen/AArch64/wineh5.mir +++ b/llvm/test/CodeGen/AArch64/wineh5.mir @@ -1,5 +1,5 @@ # RUN: llc -o - %s -mtriple=aarch64-windows -start-after=prologepilog \ -# RUN: -disable-post-ra -filetype=obj | llvm-readobj -unwind | FileCheck %s +# RUN: -filetype=obj | llvm-readobj -unwind | FileCheck %s # Check that that the large stack allocation is correctly represented in .xdata. diff --git a/llvm/test/CodeGen/AArch64/wineh6.mir b/llvm/test/CodeGen/AArch64/wineh6.mir index 08db6656980..fd1f9ece3a6 100644 --- a/llvm/test/CodeGen/AArch64/wineh6.mir +++ b/llvm/test/CodeGen/AArch64/wineh6.mir @@ -1,5 +1,5 @@ # RUN: llc -o - %s -mtriple=aarch64-windows -start-after=prologepilog \ -# RUN: -disable-post-ra -filetype=obj | llvm-readobj -unwind | FileCheck %s +# RUN: -filetype=obj | llvm-readobj -unwind | FileCheck %s # Check save_fplr_x, set_fp, alloc_s # CHECK: ExceptionData { diff --git a/llvm/test/CodeGen/AArch64/wineh7.mir b/llvm/test/CodeGen/AArch64/wineh7.mir index 60094539297..547c622a704 100644 --- a/llvm/test/CodeGen/AArch64/wineh7.mir +++ b/llvm/test/CodeGen/AArch64/wineh7.mir @@ -1,5 +1,5 @@ # RUN: llc -o - %s -mtriple=aarch64-windows -start-after=prologepilog \ -# RUN: -filetype=obj -disable-post-ra | llvm-readobj -unwind | FileCheck %s +# RUN: -filetype=obj | llvm-readobj -unwind | FileCheck %s # Check AddFP # CHECK: ExceptionData { |

