From ae3a0be92e33bc716722aa600983fc1535acb122 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 4 Jun 2009 22:49:04 +0000 Subject: Split the Add, Sub, and Mul instruction opcodes into separate integer and floating-point opcodes, introducing FAdd, FSub, and FMul. For now, the AsmParser, BitcodeReader, and IRBuilder all preserve backwards compatability, and the Core LLVM APIs preserve backwards compatibility for IR producers. Most front-ends won't need to change immediately. This implements the first step of the plan outlined here: http://nondot.org/sabre/LLVMNotes/IntegerOverflow.txt git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72897 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/pre-split8.ll | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/CodeGen/X86/pre-split8.ll') diff --git a/test/CodeGen/X86/pre-split8.ll b/test/CodeGen/X86/pre-split8.ll index eb6d49f..2259819 100644 --- a/test/CodeGen/X86/pre-split8.ll +++ b/test/CodeGen/X86/pre-split8.ll @@ -19,12 +19,12 @@ bb: ; preds = %bb9.i, %entry br i1 %1, label %bb9.i, label %bb13.i bb9.i: ; preds = %bb - %2 = sub double %.rle4, %0 ; [#uses=0] + %2 = fsub double %.rle4, %0 ; [#uses=0] %3 = tail call double @asin(double 0.000000e+00) nounwind readonly ; [#uses=0] - %4 = mul double 0.000000e+00, %0 ; [#uses=1] + %4 = fmul double 0.000000e+00, %0 ; [#uses=1] %5 = tail call double @tan(double 0.000000e+00) nounwind readonly ; [#uses=0] - %6 = mul double %4, 0.000000e+00 ; [#uses=1] - %7 = add double %6, 0.000000e+00 ; [#uses=1] + %6 = fmul double %4, 0.000000e+00 ; [#uses=1] + %7 = fadd double %6, 0.000000e+00 ; [#uses=1] br i1 false, label %return, label %bb bb13.i: ; preds = %bb -- cgit v1.1