mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-08 12:08:46 +00:00
1bfeff1fc4
Summary: This fixes the bug in https://reviews.llvm.org/D56747#inline-502711. Reviewers: efriedma Reviewed By: efriedma Subscribers: javed.absar, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D57614 llvm-svn: 352945
12 lines
304 B
LLVM
12 lines
304 B
LLVM
; RUN: llc -mtriple arm64-windows %s -o - 2>&1 | FileCheck %s
|
|
|
|
define i8* @foo(i8* %a) {
|
|
; CHECK-LABEL: foo
|
|
; CHECK-NOT: llvm.x86.seh.recoverfp
|
|
%1 = call i8* @llvm.x86.seh.recoverfp(i8* bitcast (i32 ()* @f to i8*), i8* %a)
|
|
ret i8* %1
|
|
}
|
|
|
|
declare i8* @llvm.x86.seh.recoverfp(i8*, i8*)
|
|
declare i32 @f()
|