Skip to content
  1. Sep 12, 2008
    • Dan Gohman's avatar
      Change ConstantSDNode and ConstantFPSDNode to use ConstantInt* and · ec270fb6
      Dan Gohman authored
      ConstantFP* instead of APInt and APFloat directly.
      
      This reduces the amount of time to create ConstantSDNode
      and ConstantFPSDNode nodes when ConstantInt* and ConstantFP*
      respectively are already available, as is the case in
      SelectionDAGBuild.cpp. Also, it reduces the amount of time
      to legalize constants into constant pools, and the amount of
      time to add ConstantFP operands to MachineInstrs, due to
      eliminating ConstantInt::get and ConstantFP::get calls.
      
      It increases the amount of work needed to create new constants
      in cases where the client doesn't already have a ConstantInt*
      or ConstantFP*, such as legalize expanding 64-bit integer constants
      to 32-bit constants. And it adds a layer of indirection for the
      accessor methods. But these appear to be outweight by the benefits
      in most cases.
      
      It will also make it easier to make ConstantSDNode and
      ConstantFPNode more consistent with ConstantInt and ConstantFP.
      
      llvm-svn: 56162
      ec270fb6
    • Dale Johannesen's avatar
      Pass "earlyclobber" bit through to machine · 1f3ab868
      Dale Johannesen authored
      representation; coalescer and RA need to know
      about it.  No functional change.
      
      llvm-svn: 56161
      1f3ab868
    • Dan Gohman's avatar
      Rename ConstantSDNode::getValue to getZExtValue, for consistency · effb8944
      Dan Gohman authored
      with ConstantInt. This led to fixing a bug in TargetLowering.cpp
      using getValue instead of getAPIntValue.
      
      llvm-svn: 56159
      effb8944
    • Dale Johannesen's avatar
      The sequence for ppcf128 compares was not IEEE · baf6762e
      Dale Johannesen authored
      safe in the presence of NaNs.
      
      llvm-svn: 56136
      baf6762e
  2. Sep 10, 2008
  3. Sep 09, 2008
  4. Sep 08, 2008
    • Anton Korobeynikov's avatar
      Reapply 55904: Unbreak and fix indentation · 45165ed1
      Anton Korobeynikov authored
      llvm-svn: 55958
      45165ed1
    • Dan Gohman's avatar
      Fix a few I's that were meant to be renamed to BI's. · a333f3cc
      Dan Gohman authored
      llvm-svn: 55942
      a333f3cc
    • Dale Johannesen's avatar
      Redo the 3 existing low-precision expansions to · 67f99f14
      Dale Johannesen authored
      use float constants.  An oversight by the numerics
      people who supplied this.
      
      llvm-svn: 55930
      67f99f14
    • Bill Wendling's avatar
      Reverting r55898 to r55909. One of these patches was causing an ICE during the... · 99b83712
      Bill Wendling authored
      Reverting r55898 to r55909. One of these patches was causing an ICE during the full bootstrap on Darwin:
      
      /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.obj/./gcc/xgcc
      -B/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.obj/./gcc/
      -B/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.install/i386-apple-darwin9.4.0/bin/
      -B/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.install/i386-apple-darwin9.4.0/lib/
      -isystem /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.install/i386-apple-darwin9.4.0/include
      -isystem /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.install/i386-apple-darwin9.4.0/sys-include
      -O2  -O2 -g -O2  -DIN_GCC    -W -Wall -Wwrite-strings
      -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
      -isystem ./include  -fPIC -pipe -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
      -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I../../llvm-gcc.src/gcc
      -I../../llvm-gcc.src/gcc/. -I../../llvm-gcc.src/gcc/../include
      -I./../intl -I../../llvm-gcc.src/gcc/../libcpp/include
      -I../../llvm-gcc.src/gcc/../libdecnumber -I../libdecnumber
      -I/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.obj/include
      -I/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.src/include
      -DSHARED -m64 -DL_negdi2 -c ../../llvm-gcc.src/gcc/libgcc2.c -o
      libgcc/x86_64/_negdi2_s.o
      Assertion failed: (TargetRegisterInfo::isVirtualRegister(regA) &&
      TargetRegisterInfo::isVirtualRegister(regB) && "cannot update physical
      register live information"), function runOnMachineFunction, file
      /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.src/lib/CodeGen/TwoAddressInstructionPass.cpp,
      line 311.
      /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.obj/./gcc/xgcc
      -B/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.obj/./gcc/
      -B/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.install/i386-apple-darwin9.4.0/bin/
      -B/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.install/i386-apple-darwin9.4.0/lib/
      -isystem /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.install/i386-apple-darwin9.4.0/include
      -isystem /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.install/i386-apple-darwin9.4.0/sys-include
      -O2  -O2 -g -O2  -DIN_GCC    -W -Wall -Wwrite-strings
      -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
      -isystem ./include  -fPIC -pipe -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
      -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I../../llvm-gcc.src/gcc
      -I../../llvm-gcc.src/gcc/. -I../../llvm-gcc.src/gcc/../include
      -I./../intl -I../../llvm-gcc.src/gcc/../libcpp/include
      -I../../llvm-gcc.src/gcc/../libdecnumber -I../libdecnumber
      -I/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.obj/include
      -I/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.src/include
      -DSHARED -m64 -DL_lshrdi3 -c ../../llvm-gcc.src/gcc/libgcc2.c -o
      libgcc/x86_64/_lshrdi3_s.o
      ../../llvm-gcc.src/gcc/unwind-dw2.c:1527: internal compiler error: Abort trap
      Please submit a full bug report,
      with preprocessed source if appropriate.
      See <URL:http://developer.apple.com/bugreporter> for instructions.
      {standard input}:unknown:Undefined local symbol LBB21_11
      {standard input}:unknown:Undefined local symbol LBB21_12
      {standard input}:unknown:Undefined local symbol LBB21_13
      {standard input}:unknown:Undefined local symbol LBB21_8
      
      llvm-svn: 55928
      99b83712
    • Dan Gohman's avatar
      In visitUREM, arrange for the temporary UDIV node to be · 1df80f6b
      Dan Gohman authored
      revisited, consistent with the code in visitSREM.
      
      llvm-svn: 55923
      1df80f6b
    • Daniel Dunbar's avatar
      Add VISIBILITY_HIDDEN on SDISelAsmOperandInfo · ede2d7d7
      Daniel Dunbar authored
      llvm-svn: 55922
      ede2d7d7
    • Dan Gohman's avatar
      Fix the string for ISD::UDIVREM. · e19bc184
      Dan Gohman authored
      llvm-svn: 55917
      e19bc184
    • Evan Cheng's avatar
      Avoid redefinition and nnbreak windows build. · 24776b55
      Evan Cheng authored
      llvm-svn: 55911
      24776b55
    • Anton Korobeynikov's avatar
      Unbreak and fix indentation · 6a73698a
      Anton Korobeynikov authored
      llvm-svn: 55904
      6a73698a
    • Evan Cheng's avatar
      Add fast isel physical register definition support. · e775d352
      Evan Cheng authored
      llvm-svn: 55892
      e775d352
    • Bill Wendling's avatar
      Revert my previous change -- the subtraction of two constants was a no-op · 5f7371d7
      Bill Wendling authored
      before. This is taken care of in the selection DAG pass. In my opinion, this
      should be in one place or the other. I.e., it should probably be removed from
      the DAG combiner (along with the other arithmetic transformations on constants
      that are essentially no-ops).
      
      llvm-svn: 55889
      5f7371d7
  5. Sep 07, 2008
Loading