mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 06:25:18 +00:00
Rename -disable-required-unwind-tables to -unwind-tables-optional.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49391 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
; RUN: llvm-as < %s | llc -march=ppc32 -disable-required-unwind-tables | grep or | count 3
|
||||
; RUN: llvm-as < %s | llc -march=ppc32 -unwind-tables-optional | grep or | count 3
|
||||
; This should produce one 'or' or 'cror' instruction per function.
|
||||
|
||||
define i32 @test(double %x, double %y) nounwind {
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: llvm-as < %s | llc -march=ppc32 -disable-required-unwind-tables | \
|
||||
; RUN: llvm-as < %s | llc -march=ppc32 -unwind-tables-optional | \
|
||||
; RUN: grep -v align | not grep li
|
||||
|
||||
;; Test that immediates are folded into these instructions correctly.
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: llvm-as < %s | llc -march=ppc32 -disable-required-unwind-tables | not grep or
|
||||
; RUN: llvm-as < %s | llc -march=ppc32 -unwind-tables-optional | not grep or
|
||||
|
||||
%struct.foo = type { i32, i32, [0 x i8] }
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
; RUN: llvm-as < %s | llc -march=ppc32 -disable-required-unwind-tables | grep rlwinm | count 4
|
||||
; RUN: llvm-as < %s | llc -march=ppc32 -disable-required-unwind-tables | grep rlwnm | count 2
|
||||
; RUN: llvm-as < %s | llc -march=ppc32 -disable-required-unwind-tables | not grep or
|
||||
; RUN: llvm-as < %s | llc -march=ppc32 -unwind-tables-optional | grep rlwinm | count 4
|
||||
; RUN: llvm-as < %s | llc -march=ppc32 -unwind-tables-optional | grep rlwnm | count 2
|
||||
; RUN: llvm-as < %s | llc -march=ppc32 -unwind-tables-optional | not grep or
|
||||
|
||||
define i32 @rotl32(i32 %A, i8 %Amt) nounwind {
|
||||
%shift.upgrd.1 = zext i8 %Amt to i32 ; <i32> [#uses=1]
|
||||
|
Reference in New Issue
Block a user