1 ; RUN: llc -mtriple=aarch64 %s -o - | FileCheck %s
3 ; CHECK: test_frameindex_cmp:
4 ; CHECK: cmn sp, #{{[0-9]+}}
5 define void @test_frameindex_cmp() {
7 %stack.int = ptrtoint i8* %stack to i64
8 %cmp = icmp ne i64 %stack.int, 0
9 br i1 %cmp, label %bb1, label %bb2