; Test that the ToAsciiOptimizer works correctly
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | \
-; RUN: not grep {call.*%ffs}
+; RUN: opt < %s -simplify-libcalls -S | \
+; RUN: not grep {call.*@ffs}
@non_const = external global i32 ; <i32*> [#uses=1]
ret i32 %rslt5
}
+
+; PR4206
+define i32 @a(i64) nounwind {
+ %2 = call i32 @ffsll(i64 %0) ; <i32> [#uses=1]
+ ret i32 %2
+}