blob: 2287c129b75c0620197b9be4f681e2ef31538d3e [file] [log] [blame]
; RUN: llc < %s -mtriple=i686-unknown-linux-gnu | FileCheck %s
; Test that the "returned" attribute "works" even if there is a bitcast between
; the argument and return value.
declare double* @bar(i8* returned)
define double* @foo(i8*) {
%r = tail call double* @bar(i8* %0)
; CHECK: jmp bar
ret double* %r
}