1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 3
2 ; RUN: llc -global-isel --aarch64-enable-sink-fold=true < %s | FileCheck %s
4 target triple = "aarch64-linux"
6 ; Test a non-LSL shift cannot be folded into the addressing mode.
7 define void @f(ptr %p, i64 %i) optsize {
10 ; CHECK-NEXT: add x8, x0, x1, asr #32
11 ; CHECK-NEXT: strb wzr, [x8]
14 %a = getelementptr i8, ptr %p, i64 %d