- (* RUN: grep {Inst03.*add.*P1.*P2} < %t.ll
- * RUN: grep {Inst04.*sub.*P1.*Inst03} < %t.ll
- * RUN: grep {Inst05.*mul.*P1.*Inst04} < %t.ll
- * RUN: grep {Inst06.*udiv.*P1.*Inst05} < %t.ll
- * RUN: grep {Inst07.*sdiv.*P1.*Inst06} < %t.ll
- * RUN: grep {Inst08.*fdiv.*F1.*F2} < %t.ll
- * RUN: grep {Inst09.*urem.*P1.*Inst07} < %t.ll
- * RUN: grep {Inst10.*srem.*P1.*Inst09} < %t.ll
- * RUN: grep {Inst11.*frem.*F1.*Inst08} < %t.ll
- * RUN: grep {Inst12.*shl.*P1.*Inst10} < %t.ll
- * RUN: grep {Inst13.*lshr.*P1.*Inst12} < %t.ll
- * RUN: grep {Inst14.*ashr.*P1.*Inst13} < %t.ll
- * RUN: grep {Inst15.*and.*P1.*Inst14} < %t.ll
- * RUN: grep {Inst16.*or.*P1.*Inst15} < %t.ll
- * RUN: grep {Inst17.*xor.*P1.*Inst16} < %t.ll
- * RUN: grep {Inst18.*sub.*0.*Inst17} < %t.ll
- * RUN: grep {Inst19.*xor.*Inst18.*-1} < %t.ll
+ (* RUN: grep {%build_add = add i32 %P1, %P2} < %t.ll
+ * RUN: grep {%build_nsw_add = add nsw i32 %P1, %P2} < %t.ll
+ * RUN: grep {%build_nuw_add = add nuw i32 %P1, %P2} < %t.ll
+ * RUN: grep {%build_fadd = fadd float %F1, %F2} < %t.ll
+ * RUN: grep {%build_sub = sub i32 %P1, %P2} < %t.ll
+ * RUN: grep {%build_nsw_sub = sub nsw i32 %P1, %P2} < %t.ll
+ * RUN: grep {%build_nuw_sub = sub nuw i32 %P1, %P2} < %t.ll
+ * RUN: grep {%build_fsub = fsub float %F1, %F2} < %t.ll
+ * RUN: grep {%build_mul = mul i32 %P1, %P2} < %t.ll
+ * RUN: grep {%build_nsw_mul = mul nsw i32 %P1, %P2} < %t.ll
+ * RUN: grep {%build_nuw_mul = mul nuw i32 %P1, %P2} < %t.ll
+ * RUN: grep {%build_fmul = fmul float %F1, %F2} < %t.ll
+ * RUN: grep {%build_udiv = udiv i32 %P1, %P2} < %t.ll
+ * RUN: grep {%build_sdiv = sdiv i32 %P1, %P2} < %t.ll
+ * RUN: grep {%build_exact_sdiv = sdiv exact i32 %P1, %P2} < %t.ll
+ * RUN: grep {%build_fdiv = fdiv float %F1, %F2} < %t.ll
+ * RUN: grep {%build_urem = urem i32 %P1, %P2} < %t.ll
+ * RUN: grep {%build_srem = srem i32 %P1, %P2} < %t.ll
+ * RUN: grep {%build_frem = frem float %F1, %F2} < %t.ll
+ * RUN: grep {%build_shl = shl i32 %P1, %P2} < %t.ll
+ * RUN: grep {%build_lshl = lshr i32 %P1, %P2} < %t.ll
+ * RUN: grep {%build_ashl = ashr i32 %P1, %P2} < %t.ll
+ * RUN: grep {%build_and = and i32 %P1, %P2} < %t.ll
+ * RUN: grep {%build_or = or i32 %P1, %P2} < %t.ll
+ * RUN: grep {%build_xor = xor i32 %P1, %P2} < %t.ll
+ * RUN: grep {%build_neg = sub i32 0, %P1} < %t.ll
+ * RUN: grep {%build_nsw_neg = sub nsw i32 0, %P1} < %t.ll
+ * RUN: grep {%build_nuw_neg = sub nuw i32 0, %P1} < %t.ll
+ * RUN: grep {%build_fneg = fsub float .*0.*, %F1} < %t.ll
+ * RUN: grep {%build_not = xor i32 %P1, -1} < %t.ll