Changes in directory llvm/lib/VMCore:
ConstantFolding.cpp updated: 1.117 -> 1.118
---
Log message:
Clean up ConstantFoldCastInstruction.
---
Diffs of the changes: (+30 -53)
ConstantFolding.cpp | 83 ++--
1 files changed, 30 insertions(+), 5
It would be better to split up the "EqualTo" predicate here so that
there was one for FP and one for integers. When the FP part of this
lands, you'll want "Unordered" "Equal" and "LessThan" instead of just
LessThan + Equal.
Okay, good idea. Could you please review the CF.patch file which is
att
>> You're basing all of the checks here on whether or not the LLVM types
>> are signed. I understand that this is the most expedient way to get
>> stuff working in the short term, but this isn't going to work long
>> term, as the ->isSigned() methods are not going to exist any more.
>> You should
On Dec 18, 2006, at 7:16 PM, Reid Spencer wrote:
> Rewrite ConstantFoldCastInstruction so that it doesn't use any of the
> ConstRules. Remove the casting rules from ConstRules and
> subclasses. This
> cleans up ConstantFolding significantly. Passes all tests.
Nice!
> case Instruction::UIToF
Changes in directory llvm/lib/VMCore:
ConstantFolding.cpp updated: 1.116 -> 1.117
---
Log message:
Rewrite ConstantFoldCastInstruction so that it doesn't use any of the
ConstRules. Remove the casting rules from ConstRules and subclasses. This
cleans up ConstantFolding significantly. Passes all
Changes in directory llvm/test/Regression/Transforms/IndVarsSimplify:
tripcount_infinite.llx updated: 1.3 -> 1.4
---
Log message:
Back out last revision, a bit premature, its not an upgrade-only change.
---
Diffs of the changes: (+2 -2)
tripcount_infinite.llx |4 ++--
1 files changed,
Changes in directory llvm/test/Regression/Transforms/IndVarsSimplify:
tripcount_infinite.llx updated: 1.2 -> 1.3
---
Log message:
For PR950: http://llvm.org/PR950 :
Upgrade this test in preparation for the SETCC patch.
---
Diffs of the changes: (+2 -2)
tripcount_infinite.llx |4 ++--
1
Changes in directory llvm/test/Regression/Transforms/GlobalOpt:
2006-07-07-InlineAsmCrash.ll updated: 1.1 -> 1.2
---
Log message:
For PR950: http://llvm.org/PR950 :
Upgrade this test in preparation for the SETCC patch.
---
Diffs of the changes: (+1 -1)
2006-07-07-InlineAsmCrash.ll |2
Changes in directory llvm/test/Regression/Linker:
2003-04-26-NullPtrLinkProblem.ll updated: 1.3 -> 1.4
---
Log message:
For PR950: http://llvm.org/PR950 :
Upgrade this test in preparation for the SETCC patch.
---
Diffs of the changes: (+1 -1)
2003-04-26-NullPtrLinkProblem.ll |2 +-
1 f
Changes in directory llvm/test/Regression/ExecutionEngine:
2003-01-04-LoopTest.ll updated: 1.2 -> 1.3
2003-06-04-bzip2-bug.ll updated: 1.2 -> 1.3
test-branch.ll updated: 1.6 -> 1.7
test-cast.ll updated: 1.11 -> 1.12
test-loop.ll updated: 1.2 -> 1.3
test-setcond-int.ll updated: 1.5 -> 1.6
---
Log
Changes in directory llvm/test/Regression/CodeGen/Generic:
2003-05-27-phifcmpd.ll updated: 1.3 -> 1.4
2003-05-28-ManyArgs.ll updated: 1.4 -> 1.5
2003-07-06-BadIntCmp.ll updated: 1.3 -> 1.4
2003-07-29-BadConstSbyte.ll updated: 1.4 -> 1.5
badCallArgLRLLVM.ll updated: 1.2 -> 1.3
badarg6.ll updated:
Changes in directory llvm/test/Regression/CodeGen/PowerPC:
2006-12-07-SelectCrash.ll updated: 1.1 -> 1.2
---
Log message:
This test needs to be upgraded.
---
Diffs of the changes: (+3 -3)
2006-12-07-SelectCrash.ll |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Index: llv
Changes in directory llvm/lib/CodeGen/SelectionDAG:
LegalizeDAG.cpp updated: 1.448 -> 1.449
---
Log message:
May need to promote the operand (either sign_extend_inreg or and) before
expanding a {s|u}int_to_fp.
---
Diffs of the changes: (+29 -18)
LegalizeDAG.cpp | 47 ++
I've done some work on a Linux subtarget for the PPC target. Since I
can't test how these affect Darwin PPC, I'm going to email them here
starting with little changes and building up. Note that I will not be
submitting complete PPC/Linux support; this is just a start that someone
else can continue.
I've done some work on a Linux subtarget for the PPC target. Since I
can't test how these affect Darwin PPC, I'm going to email them here
starting with little changes and building up. Note that I will not be
submitting complete PPC/Linux support; this is just a start that someone
else can continue.
Changes in directory llvm/include/llvm:
Constants.h updated: 1.110 -> 1.111
---
Log message:
Correct the description of ConstantInt::isValueValidForType.
---
Diffs of the changes: (+5 -3)
Constants.h |8 +---
1 files changed, 5 insertions(+), 3 deletions(-)
Index: llvm/include/ll
To GNU as, register classes are determined by context. This patch
changes the asm printed to print just the register number alone on
non-Darwin platforms.
The "getRegisterPrefix" function might be a little too magical. I'd be
happy to hear any suggestions.
Nick Lewycky
Index: lib/Target/PowerPC/P
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.189 -> 1.190
---
Log message:
Make ConstantInt not care about sign any more. To ensure the AsmParser can
still check the validity of signed values an overload to isValueValidForType
was added to allow passing in an int64_t to check.
Changes in directory llvm/include/llvm:
Constants.h updated: 1.109 -> 1.110
---
Log message:
Make ConstantInt not care about sign any more. To ensure the AsmParser can
still check the validity of signed values an overload to isValueValidForType
was added to allow passing in an int64_t to check.
Changes in directory llvm/lib/Analysis:
ScalarEvolution.cpp updated: 1.72 -> 1.73
---
Log message:
Fix a bug in GetConstantFactor for affine expressions, in which the existing
code was wrong for things like 3+4*i.
---
Diffs of the changes: (+9 -5)
ScalarEvolution.cpp | 14 +-
Changes in directory llvm/include/llvm/Support:
MathExtras.h updated: 1.36 -> 1.37
---
Log message:
Doxgenate comments.
Add GreatestCommonDivisor64
---
Diffs of the changes: (+85 -75)
MathExtras.h | 160 +++
1 files changed, 85 inser
On 12/18/06, Reid Spencer <[EMAIL PROTECTED]> wrote:
> On Mon, 2006-12-18 at 14:14 -0800, Bill Wendling wrote:
> > On 12/18/06, Reid Spencer <[EMAIL PROTECTED]> wrote:
> > >
> > > -if (Bad) {
> > > +if (!Bad) {
> > >Bad = false;
> >
> > Isn't the above statem
Changes in directory llvm/lib/VMCore:
Verifier.cpp updated: 1.175 -> 1.176
---
Log message:
Remove a useless statement.
---
Diffs of the changes: (+0 -1)
Verifier.cpp |1 -
1 files changed, 1 deletion(-)
Index: llvm/lib/VMCore/Verifier.cpp
diff -u llvm/lib/VMCore/Verifier.cpp:1.175 l
On Mon, 2006-12-18 at 14:14 -0800, Bill Wendling wrote:
> On 12/18/06, Reid Spencer <[EMAIL PROTECTED]> wrote:
> >
> > -if (Bad) {
> > +if (!Bad) {
> >Bad = false;
>
> Isn't the above statement not needed then?
Yup. I'll remove it.
>
> -bw
>
> >
On Mon, 2006-12-18 at 14:50 -0800, Chris Lattner wrote:
> On Dec 18, 2006, at 11:25 AM, Reid Spencer wrote:
>
> > All,
> >
> > This patch is needed to update llvm-gcc to avoid inferred casts as
> > LLVM
> > no longer supports them. This patch is sufficient for getting llvm-
> > gcc
> > to comp
Changes in directory llvm/lib/CodeGen/SelectionDAG:
LegalizeDAG.cpp updated: 1.447 -> 1.448
---
Log message:
LegalizeSetCCOperands() may end up inserting libcalls. They need to be
properly serialized. Do not clear LastCallSEQ_END until that is done.
---
Diffs of the changes: (+2 -3)
Legaliz
On Dec 18, 2006, at 11:25 AM, Reid Spencer wrote:
> All,
>
> This patch is needed to update llvm-gcc to avoid inferred casts as
> LLVM
> no longer supports them. This patch is sufficient for getting llvm-
> gcc
> to compile/work for an X86 target.
>
> This cast does not include needed changes
On 12/18/06, Reid Spencer <[EMAIL PROTECTED]> wrote:
>
> -if (Bad) {
> +if (!Bad) {
>Bad = false;
Isn't the above statement not needed then?
-bw
>for (pred_iterator PI = pred_begin(OpBlock),
> E = pred_end(OpBlock); PI !
Changes in directory llvm/lib/VMCore:
Verifier.cpp updated: 1.174 -> 1.175
---
Log message:
For PR1042: http://llvm.org/PR1042 :
Fix a thinko. We want to check the second case if the first cast *didn't*
trigger.
---
Diffs of the changes: (+1 -1)
Verifier.cpp |2 +-
1 files changed, 1 i
Changes in directory llvm/include/llvm/ADT:
BitSetVector.h updated: 1.19 -> 1.20
---
Log message:
Removed llvm_ostream and used std::ostream instead.
---
Diffs of the changes: (+1 -1)
BitSetVector.h |2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/include/llvm/ADT/Bi
Combined.patch
Description: Binary data
smime.p7s
Description: S/MIME cryptographic signature
___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
Index: gcc/config/darwin.h
===
--- gcc/config/darwin.h (revision 121525)
+++ gcc/config/darwin.h (working copy)
@@ -433,8 +433,8 @@
%{Zinit*:-init %*} \
"/* APPLE LOCAL mainline 2005-09-01 3449986 */"\
%{mmacosx-version-min=*
Jim,
Attached is the casting fix for gcc/config/rs6000/rs6000.h. As I don't
have a Mac here, I can't even compile this. Could you please compile and
test it, and submit a new version of the patch back to llvm-commits if
there are any necessary adjustments?
Thanks,
Reid.
Index: gcc/config/rs6000/
All,
This patch is needed to update llvm-gcc to avoid inferred casts as LLVM
no longer supports them. This patch is sufficient for getting llvm-gcc
to compile/work for an X86 target.
This cast does not include needed changes to gcc/config/rs6000/rs6000.h
Those changes will be sent in a subseque
I applied this untested patch, it may improve ADA support, it
certainly can't hurt:
Index: llvm-convert.cpp
===
--- llvm-convert.cpp(revision 121371)
+++ llvm-convert.cpp(working copy)
@@ -511,6 +511,7 @@
case RESULT_DEC
On Mon, 2006-12-18 at 08:56 -0800, Chris Lattner wrote:
> On Dec 18, 2006, at 12:16 AM, Reid Spencer wrote:
>
> >
> > Convert the last use of two-argument ConstantExpr::getCast into
> > another
> > form so we can remove that method from ConstantExpr.
> > ---
> > Diffs of the changes: (+3 -1)
>
On Dec 18, 2006, at 12:16 AM, Reid Spencer wrote:
>
> Convert the last use of two-argument ConstantExpr::getCast into
> another
> form so we can remove that method from ConstantExpr.
> ---
> Diffs of the changes: (+3 -1)
>
> ExprTypeConvert.cpp |4 +++-
> 1 files changed, 3 insertions(+),
>
> Convert the last uses of CastInst::createInferredCast to a normal cast
> creation. These changes are still temporary but at least this pushes
> knowledge of signedness out closer to where it can be determined
> properly
> and allows signedness to be removed from VMCore.
Ah, ok, I get it now
Did I miss a patch for llvm-gcc?
Cheers,
-- Jim
On 18-Dec-06, at 4:19 AM, Reid Spencer wrote:
Changes in directory llvm/include/llvm:
Constants.h updated: 1.108 -> 1.109
---
Log message:
Remove the two-argument (inferred cast) form of
ConstantExpr::getCast now
that its last uses hav
Changes in directory llvm/lib/Target/ARM:
ARMRegisterInfo.cpp updated: 1.29 -> 1.30
---
Log message:
macros -> Inline functions
Lauros's patch
---
Diffs of the changes: (+13 -9)
ARMRegisterInfo.cpp | 22 +-
1 files changed, 13 insertions(+), 9 deletions(-)
Index: ll
Changes in directory llvm/include/llvm:
InstrTypes.h updated: 1.54 -> 1.55
---
Log message:
Remove the createInferredCast methods now that their last uses have been
removed. All casting is now explicit and not inferred by VMCore.
---
Diffs of the changes: (+2 -55)
InstrTypes.h | 57 ++---
Changes in directory llvm/lib/Transforms:
ExprTypeConvert.cpp updated: 1.116 -> 1.117
---
Log message:
Convert the last uses of CastInst::createInferredCast to a normal cast
creation. These changes are still temporary but at least this pushes
knowledge of signedness out closer to where it can
Changes in directory llvm/lib/Transforms/Instrumentation:
ProfilingUtils.cpp updated: 1.10 -> 1.11
---
Log message:
Convert the last uses of CastInst::createInferredCast to a normal cast
creation. These changes are still temporary but at least this pushes
knowledge of signedness out closer to
Changes in directory llvm/lib/VMCore:
Instructions.cpp updated: 1.55 -> 1.56
---
Log message:
Remove the createInferredCast methods now that their last uses have been
removed. All casting is now explicit and not inferred by VMCore.
---
Diffs of the changes: (+0 -14)
Instructions.cpp | 14
Changes in directory llvm/lib/Transforms/Scalar:
InstructionCombining.cpp updated: 1.570 -> 1.571
---
Log message:
Convert the last uses of CastInst::createInferredCast to a normal cast
creation. These changes are still temporary but at least this pushes
knowledge of signedness out closer to w
Changes in directory llvm/lib/CodeGen:
IntrinsicLowering.cpp updated: 1.51 -> 1.52
---
Log message:
Convert the last uses of CastInst::createInferredCast to a normal cast
creation. These changes are still temporary but at least this pushes
knowledge of signedness out closer to where it can be
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.188 -> 1.189
---
Log message:
Remove the two-argument (inferred cast) form of ConstantExpr::getCast now
that its last uses have been removed.
---
Diffs of the changes: (+0 -7)
Constants.cpp |7 ---
1 files changed, 7 de
Changes in directory llvm/include/llvm:
Constants.h updated: 1.108 -> 1.109
---
Log message:
Remove the two-argument (inferred cast) form of ConstantExpr::getCast now
that its last uses have been removed.
---
Diffs of the changes: (+0 -2)
Constants.h |2 --
1 files changed, 2 deletions
Changes in directory llvm/lib/Transforms:
ExprTypeConvert.cpp updated: 1.115 -> 1.116
---
Log message:
Convert the last use of two-argument ConstantExpr::getCast into another
form so we can remove that method from ConstantExpr.
---
Diffs of the changes: (+3 -1)
ExprTypeConvert.cpp |4 +
Changes in directory llvm/tools/llvm2cpp:
CppWriter.cpp updated: 1.24 -> 1.25
---
Log message:
Remove a call to Type::isSigned().
---
Diffs of the changes: (+1 -3)
CppWriter.cpp |4 +---
1 files changed, 1 insertion(+), 3 deletions(-)
Index: llvm/tools/llvm2cpp/CppWriter.cpp
diff -u
50 matches
Mail list logo