15 lines · plain
1; REQUIRES: asserts2; RUN: llc < %s -mtriple=i686-- -stats 2>&1 | FileCheck %s3; CHECK: 7 asm-printer4 5define i32 @g(i32 %a, i32 %b) nounwind {6entry:7 %tmp.1 = shl i32 %b, 18 %tmp.3 = add i32 %tmp.1, %a9 %tmp.5 = mul i32 %tmp.3, %a10 %tmp.8 = mul i32 %b, %b11 %tmp.9 = add i32 %tmp.5, %tmp.812 ret i32 %tmp.913}14 15