xref: /aosp_15_r20/external/llvm/test/CodeGen/X86/remat-constant.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1; RUN: llc < %s -mtriple=x86_64-linux -relocation-model=static | grep xmm | count 2
2
3declare void @bar() nounwind
4
5@a = external constant float
6
7declare void @qux(float %f) nounwind
8
9define void @foo() nounwind  {
10  %f = load float, float* @a
11  call void @bar()
12  call void @qux(float %f)
13  call void @qux(float %f)
14  ret void
15}
16