Mercurial > hg > CbC > CbC_llvm
view test/CodeGen/AArch64/arm64-stackmap-nops.ll @ 100:7d135dc70f03 LLVM 3.9
LLVM 3.9
author | Miyagi Mitsuki <e135756@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 26 Jan 2016 22:53:40 +0900 |
parents | afa8332a0e37 |
children |
line wrap: on
line source
; RUN: llc < %s -mtriple=arm64-apple-darwin | FileCheck %s define void @test_shadow_optimization() { entry: ; Expect 8 bytes worth of nops here rather than 16: With the shadow optimization ; in place, 8 bytes will be consumed by the frame teardown and return instr. ; CHECK-LABEL: test_shadow_optimization: ; CHECK: nop ; CHECK-NEXT: nop ; CHECK-NOT: nop tail call void (i64, i32, ...) @llvm.experimental.stackmap(i64 0, i32 16) ret void } declare void @llvm.experimental.stackmap(i64, i32, ...)