; The test cases @foo[WithOptnone] prove that the same DAG combine happens
-; with -O0 and with 'optnone' set. To prove this, we use a Windows triple to
-; cause fast-isel to bail out (because something about the calling convention
-; is not handled in fast-isel). Then we have a repeated fadd that can be
-; combined into an fmul. We show that this happens in both the non-optnone
-; function and the optnone function.
+; with -O0 and with 'optnone' set. To prove this, we use a varags to cause
+; fast-isel to bail out (varags aren't handled in fast isel). Then we have
+; a repeated fadd that can be combined into an fmul. We show that this
+; happens in both the non-optnone function and the optnone function.
-define float @foo(float %x) #0 {
+define float @foo(float %x, ...) #0 {
entry:
%add = fadd fast float %x, %x
%add1 = fadd fast float %add, %x
; CHECK: mul
; CHECK-NEXT: ret
-define float @fooWithOptnone(float %x) #1 {
+define float @fooWithOptnone(float %x, ...) #1 {
entry:
%add = fadd fast float %x, %x
%add1 = fadd fast float %add, %x
@id84 = common global <16 x i32> zeroinitializer, align 64
-define void @bar() #1 {
+define void @bar(...) #1 {
entry:
%id83 = alloca <16 x i8>, align 16
%0 = load <16 x i32>, <16 x i32>* @id84, align 64