[llvm] r274368 - Specify mtriple for the frame-order.ll test.
Dehao Chen via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 1 10:35:14 PDT 2016
Author: dehao
Date: Fri Jul 1 12:35:13 2016
New Revision: 274368
URL: http://llvm.org/viewvc/llvm-project?rev=274368&view=rev
Log:
Specify mtriple for the frame-order.ll test.
Summary: original test may have different bahavior on different bot, specifically it broke llvm-clang-lld-x86_64-scei-ps4-ubuntu-fast
Reviewers: majnemer
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D21931
Modified:
llvm/trunk/test/CodeGen/X86/frame-order.ll
Modified: llvm/trunk/test/CodeGen/X86/frame-order.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/frame-order.ll?rev=274368&r1=274367&r2=274368&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/frame-order.ll (original)
+++ llvm/trunk/test/CodeGen/X86/frame-order.ll Fri Jul 1 12:35:13 2016
@@ -1,5 +1,5 @@
-; RUN: llc -march=x86 -disable-debug-info-print < %s | FileCheck %s
-; RUN: opt -strip -S < %s | llc -march=x86 -disable-debug-info-print | FileCheck %s
+; RUN: llc -mtriple=x86_64-linux-gnueabi -disable-debug-info-print < %s | FileCheck %s
+; RUN: opt -strip -S < %s | llc -mtriple=x86_64-linux-gnueabi -disable-debug-info-print | FileCheck %s
; This test checks if the code is generated correctly with and without debug info.
@@ -41,7 +41,7 @@ entry:
%tobool = icmp ne i32 %0, 0, !dbg !26
br i1 %tobool, label %if.then, label %if.else, !dbg !27
-;CHECK: movl [[REG:.*]], 24(%esp)
+;CHECK: movl [[REG:.*]], 20(%rsp)
;CHECK: je [[LABEL:.*]]
if.then: ; preds = %entry
@@ -52,7 +52,7 @@ if.then:
call void @capture(i32* %a), !dbg !31
br label %if.end, !dbg !32
-;CHECK: movl $3, 16(%esp)
+;CHECK: movl $3, 12(%rsp)
if.else: ; preds = %entry
call void @llvm.dbg.declare(metadata i32* %b, metadata !33, metadata !16), !dbg !34
@@ -63,7 +63,7 @@ if.else:
br label %if.end
;CHECK: [[LABEL]]:
-;CHECK: movl $3, 20(%esp)
+;CHECK: movl $3, 16(%rsp)
if.end: ; preds = %if.else, %if.then
ret void, !dbg !37
More information about the llvm-commits
mailing list