mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-16 11:24:39 +00:00
Cleanup a bunch of tests. In particular do not allow target directives in
the .ll file or it forces the V9 backend. This is the CodeGen/Generic dir, so there is no use in doing that. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19355 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -11,36 +11,9 @@
|
||||
;; Error: llc generates a branch-on-xcc instead of branch-on-icc, which
|
||||
;; is wrong because the value being compared (int euclid = x*x + y*y)
|
||||
;; overflows, so that the 64-bit and 32-bit compares are not equal.
|
||||
;;
|
||||
;; LLC Output:
|
||||
;;
|
||||
;; !****** Outputing Function: CheckOutside_34 ******
|
||||
;; .align 4
|
||||
;; .global CheckOutside_34
|
||||
;; .type CheckOutside_34, 2
|
||||
;; CheckOutside_34:
|
||||
;; .L_CheckOutside_34_LL_0:
|
||||
;; save %o6, -192, %o6
|
||||
;; mulx %i1, %i1, %i1
|
||||
;; mulx %i0, %i0, %i0
|
||||
;; sethi %lm(4194304), %o1
|
||||
;; or %g0, 1, %o0
|
||||
;; add %i0, %i1, %i0
|
||||
;; sra %o1, 0, %o1
|
||||
;; subcc %i0, %o1, %g0
|
||||
;; bg %xcc, .L_CheckOutside_34_LL_3
|
||||
;; nop
|
||||
;; ba .L_CheckOutside_34_LL_1
|
||||
;; nop
|
||||
;; ...
|
||||
;;
|
||||
;;
|
||||
|
||||
|
||||
target endian = little
|
||||
target pointersize = 32
|
||||
%.str_1 = internal constant [6 x sbyte] c"true\0A\00" ; <[6 x sbyte]*> [#uses=1]
|
||||
%.str_2 = internal constant [7 x sbyte] c"false\0A\00" ; <[7 x sbyte]*> [#uses=1]
|
||||
%.str_1 = internal constant [6 x sbyte] c"true\0A\00"
|
||||
%.str_2 = internal constant [7 x sbyte] c"false\0A\00"
|
||||
|
||||
implementation ; Functions:
|
||||
|
||||
|
Reference in New Issue
Block a user