[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git] / llvm / test / CodeGen / AArch64 / GlobalISel / legalize-fp128-fconstant.mir
bloba0979c5f5d1e02628f08190733a7462c55f0e410
1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 # RUN: llc -O0 -mtriple=aarch64 -run-pass=instruction-select -verify-machineinstrs %s -o - | FileCheck %s
4 ...
5 ---
6 name:            fp128-fconstant
7 alignment:       16
8 legalized:       true
9 regBankSelected: true
10 tracksRegLiveness: true
11 body:             |
12   bb.0:
13     ; CHECK-LABEL: name: fp128-fconstant
14     ; CHECK: [[ADRP:%[0-9]+]]:gpr64common = ADRP target-flags(aarch64-page) %const.0
15     ; CHECK: [[LDRQui:%[0-9]+]]:fpr128 = LDRQui [[ADRP]], target-flags(aarch64-pageoff, aarch64-nc) %const.0
16     ; CHECK: $q0 = COPY [[LDRQui]]
17     ; CHECK: RET_ReallyLR implicit $q0
18     %0:fpr(s128) = G_FCONSTANT fp128 0xL00000000000000004000000000000000
19     $q0 = COPY %0:fpr(s128)
20     RET_ReallyLR implicit $q0
21 ...