xref: /aosp_15_r20/external/llvm/test/CodeGen/X86/fp-immediate-shorten.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker;; Test that this FP immediate is stored in the constant pool as a float.
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -march=x86 -mattr=-sse2,-sse3 | FileCheck %s
4*9880d681SAndroid Build Coastguard Worker
5*9880d681SAndroid Build Coastguard Worker; CHECK: {{.long.1123418112}}
6*9880d681SAndroid Build Coastguard Worker
7*9880d681SAndroid Build Coastguard Workerdefine double @D() {
8*9880d681SAndroid Build Coastguard Worker        ret double 1.230000e+02
9*9880d681SAndroid Build Coastguard Worker}
10*9880d681SAndroid Build Coastguard Worker
11