History log of /llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp (Results 1801 – 1825 of 2094)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# cfe5aa65 09-Apr-2011 Chris Lattner <sabre@nondot.org>

Avoid excess precision issues that lead to generating host-compiler-specific code.
Switch lowering probably shouldn't be using FP for this. This resolves PR9581.

llvm-svn: 129199


# 74d92c19 08-Apr-2011 Evan Cheng <evan.cheng@apple.com>

Change -arm-trap-func= into a non-arm specific option. Now Intrinsic::trap is lowered into a call to the specified trap function at sdisel time.

llvm-svn: 129152


Revision tags: llvmorg-2.9.0
# dd4dcd54 05-Apr-2011 Bill Wendling <isanbard@gmail.com>

Revamp the SjLj "dispatch setup" intrinsic.

It needed to be moved closer to the setjmp statement, because the code directly
after the setjmp needs to know about values that are on the stack. Also, t

Revamp the SjLj "dispatch setup" intrinsic.

It needed to be moved closer to the setjmp statement, because the code directly
after the setjmp needs to know about values that are on the stack. Also, the
'bitcast' of the function context was causing a dead load. This wouldn't be too
horrible, except that at -O0 it wasn't optimized out, and because it wasn't
using the correct base pointer (if there is a VLA), it would try to access a
value from a garbage address.
<rdar://problem/9130540>

llvm-svn: 128873

show more ...


# 8b1bca19 01-Apr-2011 Evan Cheng <evan.cheng@apple.com>

Add comments.

llvm-svn: 128730


# 8d68ebd4 01-Apr-2011 Evan Cheng <evan.cheng@apple.com>

Assign node order numbers to results of call instruction lowering. This should improve src line debug info when sdisel is used. rdar://9199118

llvm-svn: 128728


Revision tags: llvmorg-2.9.0-rc3
# 355ce074 26-Mar-2011 Benjamin Kramer <benny.kra@googlemail.com>

Turn SelectionDAGBuilder::GetRegistersForValue into a local function.

It couldn't be used outside of the file because SDISelAsmOperandInfo
is local to SelectionDAGBuilder.cpp. Making it a static fun

Turn SelectionDAGBuilder::GetRegistersForValue into a local function.

It couldn't be used outside of the file because SDISelAsmOperandInfo
is local to SelectionDAGBuilder.cpp. Making it a static function avoids
a weird linkage dance.

llvm-svn: 128342

show more ...


Revision tags: llvmorg-2.9.0-rc2
# 2ef0c69d 17-Mar-2011 Cameron Zwarich <zwarich@apple.com>

Move more logic into getTypeForExtArgOrReturn.

llvm-svn: 127809


# 34e7b3f7 17-Mar-2011 Cameron Zwarich <zwarich@apple.com>

Rename getTypeForExtendedInteger() to getTypeForExtArgOrReturn().

llvm-svn: 127807


# ac106273 16-Mar-2011 Cameron Zwarich <zwarich@apple.com>

The x86-64 ABI says that a bool is only guaranteed to be sign-extended to a byte
rather than an int. Thankfully, this only causes LLVM to miss optimizations, not
generate incorrect code.

This just f

The x86-64 ABI says that a bool is only guaranteed to be sign-extended to a byte
rather than an int. Thankfully, this only causes LLVM to miss optimizations, not
generate incorrect code.

This just fixes the zext at the return. We still insert an i32 ZextAssert when
reading a function's arguments, but it is followed by a truncate and another i8
ZextAssert so it is not optimized.

llvm-svn: 127766

show more ...


# d1ad9bc2 16-Mar-2011 Cameron Zwarich <zwarich@apple.com>

Don't recompute something that we already have in a local variable.

llvm-svn: 127764


# 710d5da3 11-Mar-2011 Andrew Trick <atrick@apple.com>

Replace -dag-chain-limit flag with constant. It has survived a release cycle without being touched, so no longer needs to pollute the hidden-help text.

llvm-svn: 127468


Revision tags: llvmorg-2.9.0-rc1
# b2c80da4 25-Feb-2011 Owen Anderson <resistor@mac.com>

Allow targets to specify a the type of the RHS of a shift parameterized on the type of the LHS.

llvm-svn: 126518


# 14a07365 25-Feb-2011 Jim Grosbach <grosbach@apple.com>

Fix formatting of debug helper string.

llvm-svn: 126471


# 64706473 24-Feb-2011 Cameron Zwarich <zwarich@apple.com>

Refactor the LiveOutInfo interface into a few methods on FunctionLoweringInfo
and make the actual map private.

llvm-svn: 126376


# f8b22b34 22-Feb-2011 Cameron Zwarich <zwarich@apple.com>

Roll out r126169 and r126170 in an attempt to fix the selfhost bot.

llvm-svn: 126185


# 800f85ba 22-Feb-2011 Cameron Zwarich <zwarich@apple.com>

Merge information about the number of zero, one, and sign bits of live-out registers
at phis. This enables us to eliminate a lot of pointless zexts during the DAGCombine
phase. This fixes <rdar://pro

Merge information about the number of zero, one, and sign bits of live-out registers
at phis. This enables us to eliminate a lot of pointless zexts during the DAGCombine
phase. This fixes <rdar://problem/8760114>.

llvm-svn: 126170

show more ...


# b7ae3ccb 18-Feb-2011 Devang Patel <dpatel@apple.com>

Do not lose debug info of an inlined function argument even if the argument is only used through GEPs.
This time with a fix that avoids using invalidated DenseMap iterator.

llvm-svn: 125984


# 0a1a36dc 18-Feb-2011 Cameron Zwarich <zwarich@apple.com>

Roll out r125794 to help diagnose the llvm-gcc-i386-linux-selfhost failure.

llvm-svn: 125830


# f922a431 17-Feb-2011 Devang Patel <dpatel@apple.com>

Do not lose debug info of an inlined function argument even if the argument is only used through GEPs.

llvm-svn: 125794


# 69229316 15-Feb-2011 Chris Lattner <sabre@nondot.org>

convert ConstantVector::get to use ArrayRef.

llvm-svn: 125537


# 34442e6e 14-Feb-2011 Chris Lattner <sabre@nondot.org>

revert my ConstantVector patch, it seems to have made the llvm-gcc
builders unhappy.

llvm-svn: 125504


# d9f5b885 14-Feb-2011 Chris Lattner <sabre@nondot.org>

Switch ConstantVector::get to use ArrayRef instead of a pointer+size
idiom. Change various clients to simplify their code.

llvm-svn: 125487


# e95d1950 13-Feb-2011 Chris Lattner <sabre@nondot.org>

Revisit my fix for PR9028: the issue is that DAGCombine was
generating i8 shift amounts for things like i1024 types. Add
an assert in getNode to prevent this from occuring in the future,
fix the bu

Revisit my fix for PR9028: the issue is that DAGCombine was
generating i8 shift amounts for things like i1024 types. Add
an assert in getNode to prevent this from occuring in the future,
fix the buggy transformation, revert my previous patch, and
document this gotcha in ISDOpcodes.h

llvm-svn: 125465

show more ...


# d5f0b114 13-Feb-2011 Chris Lattner <sabre@nondot.org>

when legalizing extremely wide shifts, make sure that
the shift amounts are in a suitably wide type so that
we don't generate out of range constant shift amounts.

This fixes PR9028.

llvm-svn: 1254

when legalizing extremely wide shifts, make sure that
the shift amounts are in a suitably wide type so that
we don't generate out of range constant shift amounts.

This fixes PR9028.

llvm-svn: 125458

show more ...


# 2a720d93 13-Feb-2011 Chris Lattner <sabre@nondot.org>

fix visitShift to properly zero extend the shift amount if the provided operand
is narrower than the shift register. Doing an anyext provides undefined bits in
the top part of the register.

llvm-sv

fix visitShift to properly zero extend the shift amount if the provided operand
is narrower than the shift register. Doing an anyext provides undefined bits in
the top part of the register.

llvm-svn: 125457

show more ...


1...<<71727374757677787980>>...84