Author: evancheng
Date: Mon Feb 18 17:04:32 2008
New Revision: 47290
URL: http://llvm.org/viewvc/llvm-project?rev=47290&view=rev
Log:
- When DAG combiner is folding a bit convert into a BUILD_VECTOR, it should
check if it's essentially a SCALAR_TO_VECTOR. Avoid turning (v8i16) <10, u, u,
u> to <
Hi Resistor,
This breaks MultiSource/Benchmarks/Prolangs-C++/city under x86-64.
Please take a look.
Thanks,
Evan
On Feb 17, 2008, at 1:29 PM, Owen Anderson wrote:
> Author: resistor
> Date: Sun Feb 17 15:29:08 2008
> New Revision: 47247
>
> URL: http://llvm.org/viewvc/llvm-project?rev=47247&
Author: evancheng
Date: Mon Feb 18 12:56:31 2008
New Revision: 47281
URL: http://llvm.org/viewvc/llvm-project?rev=47281&view=rev
Log:
- Remove the previous check which broke coalescer-commute3.ll
- For now, conservatively ignore copy MI whose source is a physical register.
Commuting its def MI ca
Author: evancheng
Date: Mon Feb 18 02:40:53 2008
New Revision: 47262
URL: http://llvm.org/viewvc/llvm-project?rev=47262&view=rev
Log:
For now, avoid commuting def MI for copy MI's whose source is not killed. That
simply trade a live interval for another and because only the non-two-address
opera
Ping. Is this fixed? Does it affect build with -Werror set?
Evan
On Feb 13, 2008, at 5:22 PM, Bill Wendling wrote:
> Hi Dan,
>
>> +uint32_t APInt::countTrailingOnes() const {
>> + if (isSingleWord())
>> +return std::min(uint32_t(CountTrailingOnes_64(VAL)), BitWidth);
>> + uint32_t Count =
Thanks.
Evan
On Feb 16, 2008, at 6:46 AM, Andrew Lenharth wrote:
> Author: alenhar2
> Date: Sat Feb 16 08:46:26 2008
> New Revision: 47213
>
> URL: http://llvm.org/viewvc/llvm-project?rev=47213&view=rev
> Log:
> I cannot find a libgcc function for this builtin. Therefor
> expanding it to a noo
Author: evancheng
Date: Fri Feb 15 21:34:45 2008
New Revision: 47209
URL: http://llvm.org/viewvc/llvm-project?rev=47209&view=rev
Log:
Back out 47205. It's breaking ppc build.
Modified:
llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp
Modified: llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp
URL:
http://llvm
Hi Andrew,
I think this might be breaking ppc build.
"/tmp/llvmgcc42.roots/llvmgcc42~obj/obj-i686-powerpc/./gcc/xgcc" "-B/
tmp/llvmgcc42.roots/llvmgcc42~obj/obj-i686-powerpc/./gcc/" -B/
Developer/usr/llvm-gcc-4.2/powerpc-apple-darwin9/bin/ -B/Developer/usr/
llvm-gc\
c-4.2/powerpc-apple-darwin9
Author: evancheng
Date: Fri Feb 15 20:32:17 2008
New Revision: 47208
URL: http://llvm.org/viewvc/llvm-project?rev=47208&view=rev
Log:
Refactor some code; check if commuteInstruction is able to commute the
instruction.
Modified:
llvm/trunk/lib/CodeGen/SimpleRegisterCoalescing.cpp
llvm/tru
;m working to understand the dance between target SDNodes and
> MachineInstrs and I mistook what was going on there. Can you point me
> to
> an example where an instruction has def operands that aren't first,
> not
> counting ImplicitDefs defs?
>
> Dan
>
> On Feb 15, 20
Hi Dan,
This is not right. You are assuming def operands must be first in the
operand list. But that's not necessary the case.
Evan
On Feb 15, 2008, at 12:59 PM, Dan Gohman wrote:
> Author: djg
> Date: Fri Feb 15 14:59:17 2008
> New Revision: 47177
>
> URL: http://llvm.org/viewvc/llvm-project
Author: evancheng
Date: Fri Feb 15 17:06:21 2008
New Revision: 47189
URL: http://llvm.org/viewvc/llvm-project?rev=47189&view=rev
Log:
This test is not interesting.
Removed:
llvm/trunk/test/CodeGen/X86/coalescer-commute2.ll
Removed: llvm/trunk/test/CodeGen/X86/coalescer-commute2.ll
URL:
http
Author: evancheng
Date: Fri Feb 15 15:36:51 2008
New Revision: 47179
URL: http://llvm.org/viewvc/llvm-project?rev=47179&view=rev
Log:
The copy instruction being coalesced will be removed, it is not a kill.
Modified:
llvm/trunk/lib/CodeGen/SimpleRegisterCoalescing.cpp
Modified: llvm/trunk/lib
:19 AM, Chris Lattner wrote:
>
> On Feb 15, 2008, at 10:24 AM, Evan Cheng wrote:
>
>> Author: evancheng
>> Date: Fri Feb 15 12:24:29 2008
>> New Revision: 47167
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=47167&view=rev
>> Log:
>> -
Author: evancheng
Date: Fri Feb 15 12:21:33 2008
New Revision: 47166
URL: http://llvm.org/viewvc/llvm-project?rev=47166&view=rev
Log:
Added CommuteChangesDestination(). This returns true if commuting the specified
machine instr will change its definition register.
Modified:
llvm/trunk/include
Author: evancheng
Date: Fri Feb 15 12:12:09 2008
New Revision: 47164
URL: http://llvm.org/viewvc/llvm-project?rev=47164&view=rev
Log:
Remove unnecessary #include.
Modified:
llvm/trunk/lib/CodeGen/RegAllocBigBlock.cpp
Modified: llvm/trunk/lib/CodeGen/RegAllocBigBlock.cpp
URL:
http://llvm.org
Thanks. Since you are hacking on this, can you check something for me?
I seem to be getting this annoying warning (something like "generating
64-bit code for 32-bit cpu") when I do (for example) -march=x86-64 -
mattr=-sse41. Any idea what's causing this bogus warning? Is it when -
mattr is us
On Feb 14, 2008, at 9:28 AM, Duncan Sands wrote:
> Author: baldrick
> Date: Thu Feb 14 11:28:50 2008
> New Revision: 47122
>
> URL: http://llvm.org/viewvc/llvm-project?rev=47122&view=rev
> Log:
> In TargetLowering::LowerCallTo, don't assert that
> the return value is zero-extended if it isn't
> s
This is not a new issue. But I am wondering if this may be a compile
time issue if the number of legal FP immediate is sufficiently large?
Should we build a hash table for it instead?
Evan
On Feb 14, 2008, at 12:57 AM, Nate Begeman wrote:
>
> switch (TLI.getOperationAction(ISD::ConstantF
Author: evancheng
Date: Wed Feb 13 19:32:53 2008
New Revision: 47102
URL: http://llvm.org/viewvc/llvm-project?rev=47102&view=rev
Log:
Fix test.
Modified:
llvm/trunk/test/CodeGen/X86/arg-cast.ll
Modified: llvm/trunk/test/CodeGen/X86/arg-cast.ll
URL:
http://llvm.org/viewvc/llvm-project/llvm/t
On Feb 13, 2008, at 9:31 AM, Chris Lattner wrote:
> On Feb 13, 2008, at 1:47 AM, Evan Cheng wrote:
>>> Very nice, does it also help shootout/fib?
>>
>> bh speedup doesn't seem real. It doesn't help fib.
>
> Ok, once things have settled, please take a look
Does this mean some of the custom lowering in X86ISelLowering.cpp can
be eliminated?
Thanks,
Evan
On Feb 12, 2008, at 10:43 PM, Nate Begeman wrote:
> Author: sampo
> Date: Wed Feb 13 00:43:04 2008
> New Revision: 47048
>
> URL: http://llvm.org/viewvc/llvm-project?rev=47048&view=rev
> Log:
> S
Author: evancheng
Date: Wed Feb 13 03:56:03 2008
New Revision: 47060
URL: http://llvm.org/viewvc/llvm-project?rev=47060&view=rev
Log:
Some code clean up.
Modified:
llvm/trunk/lib/CodeGen/SimpleRegisterCoalescing.cpp
Modified: llvm/trunk/lib/CodeGen/SimpleRegisterCoalescing.cpp
URL:
http://l
On Feb 12, 2008, at 9:56 PM, Chris Lattner wrote:
> On Feb 12, 2008, at 7:01 PM, Evan Cheng wrote:
>
>> Author: evancheng
>> Date: Tue Feb 12 21:01:43 2008
>> New Revision: 47046
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=47046&view=rev
>> L
Author: evancheng
Date: Wed Feb 13 03:18:16 2008
New Revision: 47059
URL: http://llvm.org/viewvc/llvm-project?rev=47059&view=rev
Log:
Simplify.
Modified:
llvm/trunk/include/llvm/CodeGen/LiveIntervalAnalysis.h
Modified: llvm/trunk/include/llvm/CodeGen/LiveIntervalAnalysis.h
URL:
http://llvm.
Author: evancheng
Date: Wed Feb 13 03:13:21 2008
New Revision: 47058
URL: http://llvm.org/viewvc/llvm-project?rev=47058&view=rev
Log:
Simplify.
Modified:
llvm/trunk/lib/CodeGen/TargetInstrInfoImpl.cpp
Modified: llvm/trunk/lib/CodeGen/TargetInstrInfoImpl.cpp
URL:
http://llvm.org/viewvc/llvm-
On Feb 12, 2008, at 9:59 PM, Chris Lattner wrote:
>
> On Feb 12, 2008, at 6:46 PM, Evan Cheng wrote:
>
>> Author: evancheng
>> Date: Tue Feb 12 20:46:49 2008
>> New Revision: 47043
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=47043&view=rev
>&g
Author: evancheng
Date: Wed Feb 13 03:06:18 2008
New Revision: 47057
URL: http://llvm.org/viewvc/llvm-project?rev=47057&view=rev
Log:
Fix a potential serious problem where kills belonging to the val# defined by a
two-address instruction is also on the val# that defines the input.
Modified:
l
Author: evancheng
Date: Wed Feb 13 02:41:08 2008
New Revision: 47056
URL: http://llvm.org/viewvc/llvm-project?rev=47056&view=rev
Log:
* Cannot safely commute an instruction there are other defs which can reach its
uses.
* Ignore copy instructions which have already been coalesced.
Modified:
Author: evancheng
Date: Tue Feb 12 21:23:53 2008
New Revision: 47047
URL: http://llvm.org/viewvc/llvm-project?rev=47047&view=rev
Log:
New tests.
Added:
llvm/trunk/test/CodeGen/X86/coalescer-commute1.ll
llvm/trunk/test/CodeGen/X86/coalescer-commute2.ll
llvm/trunk/test/CodeGen/X86/coale
Author: evancheng
Date: Tue Feb 12 21:01:43 2008
New Revision: 47046
URL: http://llvm.org/viewvc/llvm-project?rev=47046&view=rev
Log:
Initial support for copy elimination by commuting its definition MI.
PR1877.
A3 = op A2 B0
Author: evancheng
Date: Tue Feb 12 20:48:26 2008
New Revision: 47044
URL: http://llvm.org/viewvc/llvm-project?rev=47044&view=rev
Log:
- Added removeValNo() to remove all live ranges of a particular value#.
- removeRange() can now update value# information.
Modified:
llvm/trunk/include/llvm/Co
Author: evancheng
Date: Tue Feb 12 20:46:49 2008
New Revision: 47043
URL: http://llvm.org/viewvc/llvm-project?rev=47043&view=rev
Log:
commuteInstr() can now commute non-ssa machine instrs.
Modified:
llvm/trunk/lib/CodeGen/TargetInstrInfoImpl.cpp
llvm/trunk/lib/Target/PowerPC/PPCInstrInfo.
Author: evancheng
Date: Tue Feb 12 20:45:38 2008
New Revision: 47042
URL: http://llvm.org/viewvc/llvm-project?rev=47042&view=rev
Log:
Added debugging routine dumpUses.
Modified:
llvm/trunk/include/llvm/CodeGen/MachineRegisterInfo.h
llvm/trunk/lib/CodeGen/MachineRegisterInfo.cpp
Modified:
Author: evancheng
Date: Tue Feb 12 13:25:12 2008
New Revision: 47020
URL: http://llvm.org/viewvc/llvm-project?rev=47020&view=rev
Log:
Revert r46916 PPCTargetAsmInfo.cpp.
Modified:
llvm/trunk/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
Modified: llvm/trunk/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
Author: evancheng
Date: Tue Feb 12 13:20:46 2008
New Revision: 47019
URL: http://llvm.org/viewvc/llvm-project?rev=47019&view=rev
Log:
Only using x86-64 rip relative addressing in non-staic mode?
Modified:
llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp
Modified: llvm/trunk/lib/Target/X86/X86IS
Author: evancheng
Date: Tue Feb 12 13:11:29 2008
New Revision: 47018
URL: http://llvm.org/viewvc/llvm-project?rev=47018&view=rev
Log:
Don't mask the isel bug.
Modified:
llvm/trunk/test/CodeGen/X86/fold-mul-lohi.ll
llvm/trunk/test/CodeGen/X86/stride-nine-with-base-reg.ll
llvm/trunk/tes
Author: evancheng
Date: Tue Feb 12 13:11:08 2008
New Revision: 47017
URL: http://llvm.org/viewvc/llvm-project?rev=47017&view=rev
Log:
This test assumes no SSE4.1.
Modified:
llvm/trunk/test/CodeGen/X86/peep-vector-extract-concat.ll
Modified: llvm/trunk/test/CodeGen/X86/peep-vector-extract-con
On Feb 12, 2008, at 10:38 AM, Dan Gohman wrote:
>
> On Feb 12, 2008, at 12:12 AM, Evan Cheng wrote:
>>>>
>>>> +
>>>> +// Save loads/stores matched by a pattern.
>>>> +if (!N->isLeaf() && N->getName().empty()) {
>>
=
=
=
=
=
=
=
=
=
=
--- llvm/trunk/utils/TableGen/DAGISelEmitter.cpp (original)
+++ llvm/trunk/utils/TableGen/DAGISelEmitter.cpp Wed Feb 6
16:27:42 2008
@@ -313,6 +313,12 @@
std::vector > OrigChains;
std::set Duplicates
On Feb 10, 2008, at 8:19 PM, Nate Begeman wrote:
>
> +
> + if (Subtarget->hasSSE41()) {
> ...
...
>
> +if (Subtarget->is64Bit()) {
> + setOperationAction(ISD::INSERT_VECTOR_ELT, MVT::v2i64, Legal);
> + setOperationAction(ISD::INSERT_VECTOR_ELT, MVT::v2f64, Legal);
> +
> + se
Author: evancheng
Date: Tue Feb 12 01:59:55 2008
New Revision: 47002
URL: http://llvm.org/viewvc/llvm-project?rev=47002&view=rev
Log:
Update comment.
Modified:
llvm/trunk/lib/Target/X86/X86Subtarget.h
Modified: llvm/trunk/lib/Target/X86/X86Subtarget.h
URL:
http://llvm.org/viewvc/llvm-projec
Author: evancheng
Date: Tue Feb 12 01:59:45 2008
New Revision: 47001
URL: http://llvm.org/viewvc/llvm-project?rev=47001&view=rev
Log:
Unbreak various insert_vector_elt and extract_vector_elt tests in presence of
SSE4.
Modified:
llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Modified: llvm/tr
Author: evancheng
Date: Tue Feb 12 01:22:46 2008
New Revision: 46998
URL: http://llvm.org/viewvc/llvm-project?rev=46998&view=rev
Log:
Fix some test cases.
Modified:
llvm/trunk/test/CodeGen/X86/fold-mul-lohi.ll
llvm/trunk/test/CodeGen/X86/stride-nine-with-base-reg.ll
llvm/trunk/test/Co
Author: evancheng
Date: Mon Feb 11 02:30:52 2008
New Revision: 46953
URL: http://llvm.org/viewvc/llvm-project?rev=46953&view=rev
Log:
Determine whether a spill kills the register it's spilling before insertion
rather than trying to undo the kill marker afterwards.
Added:
llvm/trunk/test/Code
What is this fixing? I would expect SelectionDAG to constant
evaluating it to a constant node?
Evan
On Feb 10, 2008, at 12:10 AM, Bill Wendling wrote:
> Author: void
> Date: Sun Feb 10 02:10:24 2008
> New Revision: 46922
>
> URL: http://llvm.org/viewvc/llvm-project?rev=46922&view=rev
> Log:
>
Any idea what the differences mean? .rodata.cst4 makes it possible to
be merged? Was there a reason to change it or than to match gcc?
Thanks,
Evan
On Feb 9, 2008, at 4:03 PM, Nick Lewycky wrote:
> Author: nicholas
> Date: Sat Feb 9 18:03:54 2008
> New Revision: 46916
>
> URL: http://llvm.or
Author: evancheng
Date: Sat Feb 9 02:36:28 2008
New Revision: 46903
URL: http://llvm.org/viewvc/llvm-project?rev=46903&view=rev
Log:
Remove unused hidden option.
Modified:
llvm/trunk/lib/CodeGen/SimpleRegisterCoalescing.cpp
Modified: llvm/trunk/lib/CodeGen/SimpleRegisterCoalescing.cpp
URL:
Sorry, committed. I seem to have some issues with my setup.
Evan
On Feb 8, 2008, at 1:58 PM, Andrew Lenharth wrote:
> This breaks the build. I think you forgot some files in /lib/Codegen.
>
> Andrew
>
> On 2/8/08, Evan Cheng <[EMAIL PROTECTED]> wrote:
>> Author: ev
Author: evancheng
Date: Fri Feb 8 16:05:27 2008
New Revision: 46896
URL: http://llvm.org/viewvc/llvm-project?rev=46896&view=rev
Log:
Forgot these files.
Modified:
llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp
llvm/trunk/lib/CodeGen/RegAllocBigBlock.cpp
llvm/trunk/lib/CodeGen/VirtRe
Author: evancheng
Date: Fri Feb 8 16:05:07 2008
New Revision: 46895
URL: http://llvm.org/viewvc/llvm-project?rev=46895&view=rev
Log:
Also print alignment.
Modified:
llvm/trunk/lib/CodeGen/MachineInstr.cpp
Modified: llvm/trunk/lib/CodeGen/MachineInstr.cpp
URL:
http://llvm.org/viewvc/llvm-pr
Author: evancheng
Date: Fri Feb 8 15:20:40 2008
New Revision: 46893
URL: http://llvm.org/viewvc/llvm-project?rev=46893&view=rev
Log:
It's not always safe to fold movsd into xorpd, etc. Check the alignment of the
load address first to make sure it's 16 byte aligned.
Added:
llvm/trunk/test/Co
Author: evancheng
Date: Thu Feb 7 18:12:56 2008
New Revision: 46866
URL: http://llvm.org/viewvc/llvm-project?rev=46866&view=rev
Log:
Added missing entries in X86 load / store folding tables.
Added:
llvm/trunk/test/CodeGen/X86/2008-02-06-LoadFoldingBug.ll
Modified:
llvm/trunk/lib/Target/X
Author: evancheng
Date: Thu Feb 7 13:46:55 2008
New Revision: 46861
URL: http://llvm.org/viewvc/llvm-project?rev=46861&view=rev
Log:
Remove remnant of load folding in local register allocator. Patch by Holger
Schurig.
Modified:
llvm/trunk/lib/CodeGen/RegAllocLocal.cpp
Modified: llvm/trunk/
Author: evancheng
Date: Thu Feb 7 02:53:49 2008
New Revision: 46850
URL: http://llvm.org/viewvc/llvm-project?rev=46850&view=rev
Log:
Fix a x86-64 codegen deficiency. Allow gv + offset when using rip addressing
mode.
Before:
_main:
subq$8, %rsp
leaq_X(%rip), %rax
m
Author: evancheng
Date: Thu Feb 7 02:29:53 2008
New Revision: 46849
URL: http://llvm.org/viewvc/llvm-project?rev=46849&view=rev
Log:
In some cases, e.g. ADD32ri, no transformation is made. Guide against it.
Modified:
llvm/trunk/lib/Target/X86/X86InstrInfo.cpp
Modified: llvm/trunk/lib/Target
Author: evancheng
Date: Wed Feb 6 16:07:17 2008
New Revision: 46825
URL: http://llvm.org/viewvc/llvm-project?rev=46825&view=rev
Log:
It's PR1925, not PR1609.
Modified:
llvm/trunk/test/CodeGen/ARM/2008-02-04-LocalRegAllocBug.ll
Modified: llvm/trunk/test/CodeGen/ARM/2008-02-04-LocalRegAllocBu
Author: evancheng
Date: Wed Feb 6 13:16:53 2008
New Revision: 46821
URL: http://llvm.org/viewvc/llvm-project?rev=46821&view=rev
Log:
Fix a number of local register allocator issues: PR1609.
Added:
llvm/trunk/test/CodeGen/ARM/2008-02-04-LocalRegAllocBug.ll
Modified:
llvm/trunk/lib/CodeGen
Author: evancheng
Date: Wed Feb 6 02:00:32 2008
New Revision: 46813
URL: http://llvm.org/viewvc/llvm-project?rev=46813&view=rev
Log:
RegAllocaLocal still *requires* LiveVariables since it runs PHIElimination,
followed by TwoAddress which requires LiveVariables. We cannot run
LiveVariables on no
Author: evancheng
Date: Tue Feb 5 16:50:29 2008
New Revision: 46776
URL: http://llvm.org/viewvc/llvm-project?rev=46776&view=rev
Log:
Fix PR1975: dag isel emitter produces patterns that isel wrong flag result.
Added:
llvm/trunk/test/CodeGen/X86/2008-02-05-ISelCrash.ll
Modified:
llvm/trunk
Author: evancheng
Date: Tue Feb 5 16:44:06 2008
New Revision: 46775
URL: http://llvm.org/viewvc/llvm-project?rev=46775&view=rev
Log:
Move to getCALLSEQ_END to ensure CALLSEQ_END node produces a flag. This is
consistent with the definition in td file.
Modified:
llvm/trunk/lib/Target/CellSPU/
Author: evancheng
Date: Tue Feb 5 14:04:18 2008
New Revision: 46763
URL: http://llvm.org/viewvc/llvm-project?rev=46763&view=rev
Log:
If a vr is already marked alive in a bb, then it has PHI uses that are visited
earlier, then it is not killed in the def block (i.e. not dead).
Added:
llvm/tr
With or without...
On Feb 5, 2008, at 11:39 AM, Chris Lattner wrote:
>
> On Feb 5, 2008, at 11:37 AM, Evan Cheng wrote:
>
>>> That means you have to know whether you've got SSE4.1 in the FE.
>>> This is not an insuperable obstacle, but I think it
Yes it did.
Evan
On Feb 5, 2008, at 10:38 AM, Anton Korobeynikov wrote:
> Evan,
>
>> This should also work on x86 now.
> But this this worked on PPC before then?
>
> --
> With best regards, Anton Korobeynikov.
>
> Faculty of Mathematics & Mechanics, Saint Petersburg State University.
>
>
>
On Feb 5, 2008, at 9:43 AM, Dale Johannesen wrote:
>
> On Feb 4, 2008, at 9:07 PM, Chris Lattner wrote:
>
>>
>> On Feb 4, 2008, at 3:27 PM, Dale Johannesen wrote:
>>
>>> Author: johannes
>>> Date: Mon Feb 4 17:27:29 2008
>>> New Revision: 46727
>>>
>>> URL: http://llvm.org/viewvc/llvm-project?re
Author: evancheng
Date: Mon Feb 4 18:25:31 2008
New Revision: 46730
URL: http://llvm.org/viewvc/llvm-project?rev=46730&view=rev
Log:
This should also work on x86 now.
Modified:
llvm/trunk/test/C++Frontend/2006-11-06-StackTrace.cpp
Modified: llvm/trunk/test/C++Frontend/2006-11-06-StackTrace.
Author: evancheng
Date: Mon Feb 4 18:25:13 2008
New Revision: 46729
URL: http://llvm.org/viewvc/llvm-project?rev=46729&view=rev
Log:
Unbreak teh build.
Modified:
llvm/trunk/include/llvm/CodeGen/AsmPrinter.h
Modified: llvm/trunk/include/llvm/CodeGen/AsmPrinter.h
URL:
http://llvm.org/viewvc/
Author: evancheng
Date: Mon Feb 4 17:10:38 2008
New Revision: 46725
URL: http://llvm.org/viewvc/llvm-project?rev=46725&view=rev
Log:
Typo.
Modified:
llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h
llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Modified: llvm/trunk/include/llvm
Author: evancheng
Date: Mon Feb 4 17:06:48 2008
New Revision: 46724
URL: http://llvm.org/viewvc/llvm-project?rev=46724&view=rev
Log:
Dwarf requires variable entries to be in the source order. Right now, since we
are recording variable information at isel time this means parameters would
appear
Author: evancheng
Date: Sat Feb 2 02:39:46 2008
New Revision: 46667
URL: http://llvm.org/viewvc/llvm-project?rev=46667&view=rev
Log:
Get rid of the annoying blank lines before labels.
Modified:
llvm/trunk/lib/CodeGen/AsmPrinter.cpp
llvm/trunk/lib/Target/ARM/ARMAsmPrinter.cpp
llvm/tru
On Feb 1, 2008, at 8:13 PM, Chris Lattner wrote:
> On Feb 1, 2008, at 8:07 PM, Evan Cheng wrote:
>> URL: http://llvm.org/viewvc/llvm-project?rev=46659&view=rev
>> Log:
>> SDIsel processes llvm.dbg.declare by recording the variable debug
>> information descriptor an
Author: evancheng
Date: Fri Feb 1 23:06:29 2008
New Revision: 46665
URL: http://llvm.org/viewvc/llvm-project?rev=46665&view=rev
Log:
Unbreak ppc debug support.
Modified:
llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp
Modified: llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp
URL:
http:
Author: evancheng
Date: Fri Feb 1 22:10:17 2008
New Revision: 46660
URL: http://llvm.org/viewvc/llvm-project?rev=46660&view=rev
Log:
For ByVal parameter, no need to alloca a home for it on the callee frame since
it's available on the caller frame.
Modified:
llvm-gcc-4.2/trunk/gcc/llvm-conve
Author: evancheng
Date: Fri Feb 1 22:07:54 2008
New Revision: 46659
URL: http://llvm.org/viewvc/llvm-project?rev=46659&view=rev
Log:
SDIsel processes llvm.dbg.declare by recording the variable debug information
descriptor and its corresponding stack frame index in MachineModuleInfo. This
only w
Author: evancheng
Date: Fri Feb 1 18:17:00 2008
New Revision: 46655
URL: http://llvm.org/viewvc/llvm-project?rev=46655&view=rev
Log:
Frame index can be negative.
Modified:
llvm/trunk/include/llvm/Target/MRegisterInfo.h
llvm/trunk/lib/Target/MRegisterInfo.cpp
llvm/trunk/lib/Target/X86
Author: evancheng
Date: Fri Feb 1 13:25:13 2008
New Revision: 46643
URL: http://llvm.org/viewvc/llvm-project?rev=46643&view=rev
Log:
int_size_in_bytes() returns the type size in bytes, not bits. So compare
against 16, not 128.
Modified:
llvm-gcc-4.2/trunk/gcc/config/i386/llvm-i386.cpp
Modi
Some comments on the patch:
+
+// Save loads/stores matched by a pattern.
+if (!N->isLeaf() && N->getName().empty() &&
+((N->getOperator()->getName() == "ld") ||
+ (N->getOperator()->getName() == "st") ||
+ (N->getOperator()->getName() == "ist"))) {
+ LSI.pus
Sorry, I forgot to reply last night. The patch tested out ok.
Thanks!
Evan
On Jan 31, 2008, at 6:08 PM, Dan Gohman wrote:
> Attached is an updated version of this change (46556 and 46585)
> with what I believe is a fix for the static initializer problem,
> but I don't have access to a system whe
Author: evancheng
Date: Fri Feb 1 03:12:58 2008
New Revision: 46637
URL: http://llvm.org/viewvc/llvm-project?rev=46637&view=rev
Log:
Do not emit an entry stop point. llvm.dbg.func.start implicitly defines one now.
Modified:
llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp
Modified: llvm-gcc-4.2/trunk/
Author: evancheng
Date: Fri Feb 1 03:12:11 2008
New Revision: 46636
URL: http://llvm.org/viewvc/llvm-project?rev=46636&view=rev
Log:
Update llvm.dbg.func.start.
Modified:
llvm/trunk/docs/SourceLevelDebugging.html
Modified: llvm/trunk/docs/SourceLevelDebugging.html
URL:
http://llvm.org/view
Author: evancheng
Date: Fri Feb 1 03:10:45 2008
New Revision: 46635
URL: http://llvm.org/viewvc/llvm-project?rev=46635&view=rev
Log:
Remove the nasty LABEL hack with a much less evil one. Now llvm.dbg.func.start
implies a stoppoint is set. SelectionDAGISel records a new source line but does
not
Author: evancheng
Date: Thu Jan 31 20:05:57 2008
New Revision: 46628
URL: http://llvm.org/viewvc/llvm-project?rev=46628&view=rev
Log:
Rename RecordLabel to RecordSourceLine because that's what it is doing.
Modified:
llvm/trunk/include/llvm/CodeGen/MachineModuleInfo.h
llvm/trunk/lib/CodeGe
Hi Dan,
This patch has caused wide spread breakage. All the dejagnu tests are
broken, etc.
FAIL: /Users/echeng/LLVM/llvm/test/CodeGen/ARM/branch.ll
Failed with signal(SIGABRT) at line 1
while running: llvm-upgrade < /Users/echeng/LLVM/llvm/test/CodeGen/ARM/
branch.ll | llvm-as | llc -march=arm
wrote:
>
> On Jan 31, 2008, at 12:15 AM, Evan Cheng wrote:
>
>>>> Doc22.rtf (with props)
>>>> test-suite/trunk/MultiSource/Applications/ClamAV/inputs/rtf-test/
>>>> doc3.rtf (with props)
>>>> test-suite/trunk/MultiSource/Applications/ClamAV
Author: evancheng
Date: Thu Jan 31 04:05:13 2008
New Revision: 46610
URL: http://llvm.org/viewvc/llvm-project?rev=46610&view=rev
Log:
Add a comment for a nasty short term hack.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/Schedul
Author: evancheng
Date: Thu Jan 31 03:59:15 2008
New Revision: 46609
URL: http://llvm.org/viewvc/llvm-project?rev=46609&view=rev
Log:
Add an extra operand to LABEL nodes which distinguishes between debug, EH, or
misc labels. This fixes the EH breakage. However I am not convinced this is
*the* so
On Jan 30, 2008, at 4:59 PM, Chris Lattner wrote:
>
> On Jan 30, 2008, at 1:17 PM, Evan Cheng wrote:
>
>> Author: evancheng
>> Date: Wed Jan 30 15:17:10 2008
>> New Revision: 46573
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=46573&view=rev
&g
Author: evancheng
Date: Thu Jan 31 02:14:31 2008
New Revision: 46608
URL: http://llvm.org/viewvc/llvm-project?rev=46608&view=rev
Log:
Slightly shrinkify inputs, slightly increase test size.
Added:
test-suite/trunk/MultiSource/Applications/ClamAV/inputs/clamdoc.tar.gz
(with props)
Removed:
How about changing it to FLT_ROUND (no s) or something else? Using a
trailing '_' seems silly.
Thanks,
Evan
On Jan 30, 2008, at 4:41 PM, Dan Gohman wrote:
> Author: djg
> Date: Wed Jan 30 18:41:03 2008
> New Revision: 46587
>
> URL: http://llvm.org/viewvc/llvm-project?rev=46587&view=rev
> Log
Author: evancheng
Date: Thu Jan 31 01:54:34 2008
New Revision: 46607
URL: http://llvm.org/viewvc/llvm-project?rev=46607&view=rev
Log:
Not needed.
Removed:
test-suite/trunk/MultiSource/Applications/ClamAV/ClamAV-srcflat.tar.gz
Removed: test-suite/trunk/MultiSource/Applications/ClamAV/ClamAV-s
Author: evancheng
Date: Wed Jan 30 22:06:00 2008
New Revision: 46598
URL: http://llvm.org/viewvc/llvm-project?rev=46598&view=rev
Log:
Add x86 specific getFrameIndexOffset(). This fixes local variable debugging
info.
Modified:
llvm/trunk/lib/Target/X86/X86RegisterInfo.cpp
llvm/trunk/lib/T
Author: evancheng
Date: Wed Jan 30 21:37:28 2008
New Revision: 46597
URL: http://llvm.org/viewvc/llvm-project?rev=46597&view=rev
Log:
MRegisterInfo::getLocation() is a really bad idea. Its function is to calculate
the offset from frame pointer to a stack slot and then storing the delta in a
Mach
Author: evancheng
Date: Wed Jan 30 21:33:38 2008
New Revision: 46596
URL: http://llvm.org/viewvc/llvm-project?rev=46596&view=rev
Log:
Makes the same change in ppc backend: avoid inserting prologue before debug
labels.
Modified:
llvm/trunk/lib/Target/PowerPC/PPCRegisterInfo.cpp
Modified: llv
Author: evancheng
Date: Wed Jan 30 18:27:49 2008
New Revision: 46586
URL: http://llvm.org/viewvc/llvm-project?rev=46586&view=rev
Log:
Also avoid adding callee save code before debug labels.
Modified:
llvm/trunk/lib/CodeGen/PrologEpilogInserter.cpp
Modified: llvm/trunk/lib/CodeGen/PrologEpilo
Author: evancheng
Date: Wed Jan 30 16:44:55 2008
New Revision: 46579
URL: http://llvm.org/viewvc/llvm-project?rev=46579&view=rev
Log:
Fixed a bug in MergeValueInAsValue() pointed out by David Greene. Replace val#
with previous liverange's.
Modified:
llvm/trunk/lib/CodeGen/LiveInterval.cpp
M
Author: evancheng
Date: Wed Jan 30 14:08:35 2008
New Revision: 46571
URL: http://llvm.org/viewvc/llvm-project?rev=46571&view=rev
Log:
Treat the label for the first @llvm.dbg.stoppoint the same way as the
dbg_func_start label. Make sure nothing else is inserted before them.
Note this solution migh
Author: evancheng
Date: Wed Jan 30 13:35:32 2008
New Revision: 46568
URL: http://llvm.org/viewvc/llvm-project?rev=46568&view=rev
Log:
A semi-gross fix for a debug info issue. When inserting the "function start"
label (i.e. first label in the entry block) take care to insert it at the
beginning o
Author: evancheng
Date: Wed Jan 30 12:18:23 2008
New Revision: 46562
URL: http://llvm.org/viewvc/llvm-project?rev=46562&view=rev
Log:
Even though InsertAtEndOfBasicBlock is an ugly hack it still deserves a proper
name. Rename it to EmitInstrWithCustomInserter since it does not necessarily
insert
Author: evancheng
Date: Tue Jan 29 21:57:33 2008
New Revision: 46546
URL: http://llvm.org/viewvc/llvm-project?rev=46546&view=rev
Log:
Skip over the label which marks the beginning of the function before inserting
prologue code.
Modified:
llvm/trunk/lib/Target/X86/X86RegisterInfo.cpp
Modifie
Author: evancheng
Date: Tue Jan 29 13:34:22 2008
New Revision: 46527
URL: http://llvm.org/viewvc/llvm-project?rev=46527&view=rev
Log:
Work in progress. This patch *fixes* x86-64 calls which are modelled as
StructRet but really should be return in registers, e.g. _Complex long double,
some 128-bi
1 - 100 of 3530 matches
Mail list logo