diff options
author | Geoff Berry <gberry@codeaurora.org> | 2018-05-15 16:27:34 +0000 |
---|---|---|
committer | Geoff Berry <gberry@codeaurora.org> | 2018-05-15 16:27:34 +0000 |
commit | 32d07d59f5036e29e11d71ab0c53088cd4c1d18c (patch) | |
tree | c18f05d5543ae87c50f8b93fe1cd27cacaef8c3c | |
parent | 20defe18fc03119818af0b7254ebbdf7f686e478 (diff) | |
download | bcm5719-llvm-32d07d59f5036e29e11d71ab0c53088cd4c1d18c.tar.gz bcm5719-llvm-32d07d59f5036e29e11d71ab0c53088cd4c1d18c.zip |
[AArch64] Fix mir test case liveins info.
The test case added in r332265 had incomplete livein information which
was caught by the EXPENSIVE_CHECKS bot. Fix the livein information and
add -verify-machineinstrs to the test case.
llvm-svn: 332367
-rw-r--r-- | llvm/test/CodeGen/AArch64/branch-folder-oneinst.mir | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/AArch64/branch-folder-oneinst.mir b/llvm/test/CodeGen/AArch64/branch-folder-oneinst.mir index 377b21d8b9a..cfb6da3e9ae 100644 --- a/llvm/test/CodeGen/AArch64/branch-folder-oneinst.mir +++ b/llvm/test/CodeGen/AArch64/branch-folder-oneinst.mir @@ -1,4 +1,4 @@ -# RUN: llc -o - %s -mtriple=aarch64 -run-pass branch-folder | FileCheck %s +# RUN: llc -o - %s -mtriple=aarch64 -run-pass branch-folder -verify-machineinstrs | FileCheck %s # Check that BranchFolding pass is able to hoist a common instruction into a block with a single branch instruction. name: func tracksRegLiveness: true @@ -8,7 +8,7 @@ body: | ; CHECK-LABEL: bb.0: ; CHECK: $x0 = ADDXri $x0, 1, 0 ; CHECK: CBZX $x1, %bb.2 - liveins: $x1 + liveins: $x0, $x1 CBZX $x1, %bb.2 bb.1: |