; RUN: llc -mtriple=thumbv6-apple-darwin10 < %s | FileCheck %s ; RUN: opt -strip-debug < %s | llc -mtriple=thumbv6-apple-darwin10 | FileCheck %s ; Stripping out debug info formerly caused the last two multiplies to be emitted in ; the other order. 7797940 (part of it dated 6/29/2010..7/15/2010). %0 = type { [3 x double] } @llvm.used = appending global [1 x i8*] [i8* bitcast (void (%0*, i32, i32)* @_Z19getClosestDiagonal3ii to i8*)], section "llvm.metadata" ; <[1 x i8*]*> [#uses=0] define void @_Z19getClosestDiagonal3ii(%0* noalias sret, i32, i32) nounwind { ; CHECK: bl ___muldf3 ; CHECK: bl ___muldf3 ; CHECK: beq LBB0 ; CHECK: bl ___muldf3 ;