1 ; RUN: llc -mtriple=arm64-apple-ios %s -o - -stop-after=finalize-isel 2>&1 | FileCheck %s
3 define void @foo(i64 %a, i64 %b, ptr %ptr) {
4 ; CHECK-LABEL: name: foo
5 ; CHECK: STRWui {{.*}} (volatile store (s32) into %ir.ptr)
7 %sum.32 = trunc i64 %sum to i32
8 store volatile i32 %sum.32, ptr %ptr