mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-21 00:32:23 +00:00
6d4e5ab349
This changes the tests that were targeting ARM EABI to explicitly specify the environment rather than relying on the default. This breaks with the new Windows on ARM support when running the tests on Windows where the default environment is no longer EABI. Take the opportunity to avoid a pointless redirect (helps when trying to debug with providing a command line invocation which can be copy and pasted) and removing a few greps in favour of FileCheck. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205465 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
596 B
LLVM
14 lines
596 B
LLVM
; RUN: llc -mtriple=arm-eabi %s -o /dev/null
|
|
|
|
%struct.hit_t = type { %struct.v_t, double }
|
|
%struct.node_t = type { %struct.hit_t, %struct.hit_t, i32 }
|
|
%struct.v_t = type { double, double, double }
|
|
|
|
define fastcc %struct.node_t* @_ZL6createP6node_tii3v_tS1_d(%struct.node_t* %n, i32 %lvl, i32 %dist, i64 %c.0.0, i64 %c.0.1, i64 %c.0.2, i64 %d.0.0, i64 %d.0.1, i64 %d.0.2, double %r) nounwind {
|
|
entry:
|
|
%0 = getelementptr %struct.node_t* %n, i32 0, i32 1 ; <%struct.hit_t*> [#uses=1]
|
|
%1 = bitcast %struct.hit_t* %0 to i256* ; <i256*> [#uses=1]
|
|
store i256 0, i256* %1, align 4
|
|
unreachable
|
|
}
|