mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 19:31:58 +00:00
26ebdd1e7c
- Revise previous patches of the same purpose by fixing *) grep <PA> | not grep <PB> semantically is not the same as CHECK: <PA>{{^<PB>.*$}} as the former will check all occurrences of <PA> while the later only check the first match. As the result, CHECK needs putting in all place where <PA> occurs. *) grep <PA> | count <N> needs a final CHECK-NOT of the same pattern. (As 'CHECK-<N>' is proposed for discussion, converting 'grep | count <N>' where N > 1 is postponed.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180742 91177308-0d34-0410-b5e6-96231b3b80d8
23 lines
509 B
LLVM
23 lines
509 B
LLVM
; RUN: llc < %s -march=x86 | FileCheck %s
|
|
|
|
; CHECK-NOT: rodata
|
|
; CHECK-NOT: literal
|
|
|
|
;
|
|
; Check that no FP constants in this testcase ends up in the
|
|
; constant pool.
|
|
|
|
@G = external global float ; <float*> [#uses=1]
|
|
|
|
declare void @extfloat(float)
|
|
|
|
declare void @extdouble(double)
|
|
|
|
define void @testfloatstore() {
|
|
call void @extfloat( float 0x40934999A0000000 )
|
|
call void @extdouble( double 0x409349A631F8A090 )
|
|
store float 0x402A064C20000000, float* @G
|
|
ret void
|
|
}
|
|
|