1; RUN: llc -verify-machineinstrs < %s | FileCheck %s 2target datalayout = "e-m:e-i64:64-n32:64" 3target triple = "powerpc64le-unknown-linux-gnu" 4 5@_ZTIi = external constant ptr 6declare ptr @__cxa_allocate_exception(i64) 7declare void @__cxa_throw(ptr, ptr, ptr) 8 9define void @crsave() { 10entry: 11 call void asm sideeffect "", "~{cr2}"() 12 call void asm sideeffect "", "~{cr3}"() 13 call void asm sideeffect "", "~{cr4}"() 14 15 %exception = call ptr @__cxa_allocate_exception(i64 4) 16 store i32 0, ptr %exception 17 call void @__cxa_throw(ptr %exception, ptr @_ZTIi, ptr null) 18 unreachable 19 20return: ; No predecessors! 21 ret void 22} 23; CHECK-LABEL: @crsave 24; CHECK: .cfi_offset cr2, 8 25; CHECK: .cfi_offset cr3, 8 26; CHECK: .cfi_offset cr4, 8 27 28