Author: evancheng
Date: Tue Jan 15 02:18:25 2008
New Revision: 46004
URL: http://llvm.org/viewvc/llvm-project?rev=46004view=rev
Log:
Make use of existing gcc facility to determine if an aggregate argument should
be passed ByVal in x86-64 mode.
Modified:
URL: http://llvm.org/viewvc/llvm-project?rev=46004view=rev
Log:
Make use of existing gcc facility to determine if an aggregate
argument should be passed ByVal in x86-64 mode.
Nice.
+/* Target hook for llvm-abi.h. It returns true if an aggregate of the
+ specified type should be passed
The attached patch makes VERBOSE builds easier to wade through. It's likely
to also permute the PROJ_* and LLVM_* includes, but I don't think that
should matter. I've done a full-tree compile and everything seems to be
working.
Thanks,
Sam Bishop
*** Before ***
[EMAIL PROTECTED] make
Author: baldrick
Date: Tue Jan 15 13:55:41 2008
New Revision: 46006
URL: http://llvm.org/viewvc/llvm-project?rev=46006view=rev
Log:
Testcase for gimplify_expr crash caused by an
unexpected placeholder_expr.
Added:
llvm/trunk/test/FrontendAda/placeholder.adb
Added:
Author: gordon
Date: Tue Jan 15 14:02:11 2008
New Revision: 46007
URL: http://llvm.org/viewvc/llvm-project?rev=46007view=rev
Log:
Fix a memory correctness error noticed by valgrind (harmless in practice).
Thanks to Duncan Sands for noticing it.
Modified:
Author: baldrick
Date: Tue Jan 15 15:03:51 2008
New Revision: 46008
URL: http://llvm.org/viewvc/llvm-project?rev=46008view=rev
Log:
Fix warning: extra tokens at end of #ifndef directive
Modified:
llvm-gcc-4.2/trunk/gcc/llvm-abi.h
Modified: llvm-gcc-4.2/trunk/gcc/llvm-abi.h
URL:
Author: void
Date: Tue Jan 15 15:16:32 2008
New Revision: 46009
URL: http://llvm.org/viewvc/llvm-project?rev=46009view=rev
Log:
Reformatted. It was confusing the other way. No functionality change.
Modified:
llvm/trunk/lib/VMCore/AsmWriter.cpp
Modified: llvm/trunk/lib/VMCore/AsmWriter.cpp
Author: lattner
Date: Tue Jan 15 15:35:53 2008
New Revision: 46010
URL: http://llvm.org/viewvc/llvm-project?rev=46010view=rev
Log:
Add support for builtin_trap, which was basically just broken before.
Modified:
llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp
Modified:
The attached patch should fix the aforementioned bug. It passes DejaGnu
testsuite. Nick also checked that it passes llvm-test and llvm-gcc
bootstrap (thanks!).
The patch:
1) changes SCEVSDivExpr into SCEVUDivExpr,
2) replaces PartialFact() function with BinomialCoefficient(); the
computations in
Author: lattner
Date: Tue Jan 15 15:38:04 2008
New Revision: 46011
URL: http://llvm.org/viewvc/llvm-project?rev=46011view=rev
Log:
implement __builtin_trap, which was previously just broken.
Modified:
llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp
Modified: llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp
Author: asl
Date: Tue Jan 15 15:40:02 2008
New Revision: 46012
URL: http://llvm.org/viewvc/llvm-project?rev=46012view=rev
Log:
Fix JIT encoding of trap/ud2 instruction
Modified:
llvm/trunk/lib/Target/X86/X86InstrInfo.td
Modified: llvm/trunk/lib/Target/X86/X86InstrInfo.td
URL:
Author: cfr
Date: Tue Jan 15 15:43:17 2008
New Revision: 46013
URL: http://llvm.org/viewvc/llvm-project?rev=46013view=rev
Log:
Add files to windows project files. Also include algorithm explicitly so
that vstudio build works
Modified:
llvm/trunk/utils/TableGen/CodeGenDAGPatterns.cpp
Author: lattner
Date: Tue Jan 15 15:58:22 2008
New Revision: 46015
URL: http://llvm.org/viewvc/llvm-project?rev=46015view=rev
Log:
no need to expand ISD::TRAP to X86ISD::TRAP, just match ISD::TRAP.
Modified:
llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Author: lattner
Date: Tue Jan 15 15:58:08 2008
New Revision: 46014
URL: http://llvm.org/viewvc/llvm-project?rev=46014view=rev
Log:
Add support for targets that have a legal ISD::TRAP.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
Author: resistor
Date: Tue Jan 15 16:02:46 2008
New Revision: 46016
URL: http://llvm.org/viewvc/llvm-project?rev=46016view=rev
Log:
Remove DefInst from LiveVariables::VarInfo. Use the facilities on
MachineRegisterInfo instead.
Modified:
llvm/trunk/lib/CodeGen/LiveVariables.cpp
Author: lattner
Date: Tue Jan 15 16:02:54 2008
New Revision: 46017
URL: http://llvm.org/viewvc/llvm-project?rev=46017view=rev
Log:
rename SDTRet - SDTNone.
Move definition of 'trap' sdnode up from x86 instrinfo to targetselectiondag.td.
Modified:
llvm/trunk/lib/Target/ARM/ARMInstrInfo.td
Author: lattner
Date: Tue Jan 15 16:09:33 2008
New Revision: 46018
URL: http://llvm.org/viewvc/llvm-project?rev=46018view=rev
Log:
The type of the 'abort' node should be pointer type (because
it's a function pointer) not MVT::Other. This fixes builtin_trap
lowering on ppc, alpha, ia64
Modified:
Author: lattner
Date: Tue Jan 15 16:15:02 2008
New Revision: 46019
URL: http://llvm.org/viewvc/llvm-project?rev=46019view=rev
Log:
If someone wants to implement ppc TRAP, they can go for it :)
Modified:
llvm/trunk/lib/Target/PowerPC/README.txt
Modified:
Author: lattner
Date: Tue Jan 15 16:17:26 2008
New Revision: 46020
URL: http://llvm.org/viewvc/llvm-project?rev=46020view=rev
Log:
new testcase for llvm.trap.
Added:
llvm/trunk/test/CodeGen/Generic/trap.ll
Added: llvm/trunk/test/CodeGen/Generic/trap.ll
URL:
Author: evancheng
Date: Tue Jan 15 16:19:35 2008
New Revision: 46021
URL: http://llvm.org/viewvc/llvm-project?rev=46021view=rev
Log:
Unbreak the build.
Modified:
llvm/trunk/include/llvm/CodeGen/LiveVariables.h
Modified: llvm/trunk/include/llvm/CodeGen/LiveVariables.h
URL:
Ach, sorry.
--Owen
On Jan 15, 2008, at 4:19 PM, Evan Cheng wrote:
Author: evancheng
Date: Tue Jan 15 16:19:35 2008
New Revision: 46021
URL: http://llvm.org/viewvc/llvm-project?rev=46021view=rev
Log:
Unbreak the build.
Modified:
llvm/trunk/include/llvm/CodeGen/LiveVariables.h
Modified:
Author: lattner
Date: Tue Jan 15 16:22:02 2008
New Revision: 46023
URL: http://llvm.org/viewvc/llvm-project?rev=46023view=rev
Log:
verify x86 generates ud2 for llvm.trap
Added:
llvm/trunk/test/CodeGen/X86/trap.ll
Added: llvm/trunk/test/CodeGen/X86/trap.ll
URL:
On Jan 15, 2008, at 2:02 PM, Owen Anderson wrote:
URL: http://llvm.org/viewvc/llvm-project?rev=46016view=rev
Log:
Remove DefInst from LiveVariables::VarInfo. Use the facilities on
MachineRegisterInfo instead.
Woot,
+void LiveVariables::MarkVirtRegAliveInBlock(unsigned reg,
Author: asl
Date: Tue Jan 15 16:31:34 2008
New Revision: 46024
URL: http://llvm.org/viewvc/llvm-project?rev=46024view=rev
Log:
Add description of 'llvm.trap' intrinsic. Also, minor fixes in formatting.
Modified:
llvm/trunk/docs/LangRef.html
Modified: llvm/trunk/docs/LangRef.html
URL:
Author: lattner
Date: Tue Jan 15 16:38:12 2008
New Revision: 46025
URL: http://llvm.org/viewvc/llvm-project?rev=46025view=rev
Log:
add a test to ensure that argpromote of one argument doesn't
break the byval attr on some other argument.
Added:
On Jan 13, 2008, at 12:18 AM, Duncan Sands wrote:
there are some issues that need to be fixed:
(1) the asm parser drops parameter attributes specified on the
varargs
part of a call/invoke;
(2) when the DAE pass drops varargs call arguments, the parameter
attributes need to be trimmed,
Author: lattner
Date: Tue Jan 15 16:50:50 2008
New Revision: 46026
URL: http://llvm.org/viewvc/llvm-project?rev=46026view=rev
Log:
improve compatibility with mingw, patch by Alain Frisch
Modified:
llvm/trunk/Makefile.config.in
llvm/trunk/lib/VMCore/Makefile
Modified:
On Jan 14, 2008, at 9:59 PM, Alain Frisch wrote:
Chris Lattner wrote:
Okay, this looks really good. One final question before I commit:
why does tblgen want a windows path instead of a unix path? Can
that be fixed in tblgen? Doesn't this affect llvm-as and all other
tools?
When
Chris Lattner wrote:
Author: lattner
Date: Tue Jan 15 16:50:50 2008
New Revision: 46026
URL: http://llvm.org/viewvc/llvm-project?rev=46026view=rev
Log:
improve compatibility with mingw, patch by Alain Frisch
Modified:
llvm/trunk/Makefile.config.in
Author: resistor
Date: Tue Jan 15 16:58:11 2008
New Revision: 46027
URL: http://llvm.org/viewvc/llvm-project?rev=46027view=rev
Log:
Move some calls to getVRegDef higher in the callgraph, so they don't get
executed as frequently in performance sensitive code.
Modified:
Author: johannes
Date: Tue Jan 15 17:20:17 2008
New Revision: 46028
URL: http://llvm.org/viewvc/llvm-project?rev=46028view=rev
Log:
Use 64 bits for save_filt temps on 64-bit targets.
LLVM uses 64 bits for these and they need to match.
Modified:
llvm-gcc-4.2/trunk/gcc/tree-eh.c
Modified:
Author: johannes
Date: Tue Jan 15 17:24:56 2008
New Revision: 46029
URL: http://llvm.org/viewvc/llvm-project?rev=46029view=rev
Log:
Fix and enable EH for x86-64 Darwin. Adds
ShortenEHDataFor64Bits as a not-very-accurate
abstraction to cover all the changes in DwarfWriter.
Some cosmetic changes
Author: johannes
Date: Tue Jan 15 17:25:27 2008
New Revision: 46030
URL: http://llvm.org/viewvc/llvm-project?rev=46030view=rev
Log:
Missed file from previous checkin.
Modified:
llvm/trunk/lib/Target/TargetAsmInfo.cpp
Modified: llvm/trunk/lib/Target/TargetAsmInfo.cpp
URL:
Author: evancheng
Date: Tue Jan 15 17:26:36 2008
New Revision: 46031
URL: http://llvm.org/viewvc/llvm-project?rev=46031view=rev
Log:
Clean up code.
Modified:
llvm-gcc-4.2/trunk/gcc/config/i386/i386.c
llvm-gcc-4.2/trunk/gcc/config/i386/llvm-i386-target.h
Author: lattner
Date: Tue Jan 15 17:27:40 2008
New Revision: 46032
URL: http://llvm.org/viewvc/llvm-project?rev=46032view=rev
Log:
Commit a piece that I missed before, patch by Alain Frisch
Modified:
llvm/trunk/Makefile.rules
Modified: llvm/trunk/Makefile.rules
URL:
On Jan 15, 2008, at 2:52 PM, Alain Frisch wrote:
Great, thanks!
(To make it work, note that Makefile.rules also needs to be patched.)
Ah, missed that piece, thank you for mentioning it!
-chris
___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
Author: dpatel
Date: Tue Jan 15 17:52:34 2008
New Revision: 46033
URL: http://llvm.org/viewvc/llvm-project?rev=46033view=rev
Log:
- Introduces versioning macro LLVM_LTO_VERSION
- Communicate symbol visibility
- Communicate code generation model
Modified:
Author: kremenek
Date: Tue Jan 15 17:53:53 2008
New Revision: 46034
URL: http://llvm.org/viewvc/llvm-project?rev=46034view=rev
Log:
Changed ImmutableMap::find to return an iterator instead of a pointer
to the tree node.
Modified:
llvm/trunk/include/llvm/ADT/ImmutableMap.h
Modified:
Author: lattner
Date: Tue Jan 15 19:19:03 2008
New Revision: 46042
URL: http://llvm.org/viewvc/llvm-project?rev=46042view=rev
Log:
The final ultimate(?) fix for the silly objc .reference thing. Instead of
ignoring
them, we now queue them up as a file-scope inline asm block. This allows us to
Author: void
Date: Tue Jan 15 18:47:01 2008
New Revision: 46039
URL: http://llvm.org/viewvc/llvm-project?rev=46039view=rev
Log:
If we are building a compiler for target T on host H, and H has a different type
of endianness than T, then the builtin defines are generated incorrectly. For
instance,
On Jan 15, 2008 5:15 PM, Chris Lattner [EMAIL PROTECTED] wrote:
Author: lattner
Date: Tue Jan 15 19:15:26 2008
New Revision: 46041
URL: http://llvm.org/viewvc/llvm-project?rev=46041view=rev
Log:
The final ultimate(?) fix for the silly objc .reference thing. Instead of
ignoring
them, we
Author: void
Date: Tue Jan 15 19:30:13 2008
New Revision: 46043
URL: http://llvm.org/viewvc/llvm-project?rev=46043view=rev
Log:
Creating llvmCore-2008 branch
Added:
llvm/tags/Apple/llvmCore-2008/
- copied from r46042, llvm/trunk/
___
Author: void
Date: Tue Jan 15 19:31:37 2008
New Revision: 46044
URL: http://llvm.org/viewvc/llvm-project?rev=46044view=rev
Log:
Creating llvmgcc42-2008 branch
Added:
llvm-gcc-4.2/tags/Apple/llvmgcc42-2008/
- copied from r46043, llvm-gcc-4.2/trunk/
Author: dpatel
Date: Tue Jan 15 21:33:05 2008
New Revision: 46045
URL: http://llvm.org/viewvc/llvm-project?rev=46045view=rev
Log:
Do not strip llvm.used values.
Added:
llvm/trunk/test/Transforms/StripSymbols/
llvm/trunk/test/Transforms/StripSymbols/2007-01-15-llvm.used.ll
Author: lattner
Date: Tue Jan 15 21:53:20 2008
New Revision: 46046
URL: http://llvm.org/viewvc/llvm-project?rev=46046view=rev
Log:
remove a dead line, thanks to bill for pointing this out.
Modified:
llvm-gcc-4.2/trunk/gcc/config/darwin.h
Modified: llvm-gcc-4.2/trunk/gcc/config/darwin.h
URL:
Author: lattner
Date: Tue Jan 15 21:54:18 2008
New Revision: 46047
URL: http://llvm.org/viewvc/llvm-project?rev=46047view=rev
Log:
remove a dead line, thanks to bill for pointing this out.
Modified:
llvm-gcc-4.0/trunk/gcc/config/darwin.h
Modified: llvm-gcc-4.0/trunk/gcc/config/darwin.h
URL:
On Jan 15, 2008, at 7:33 PM, Devang Patel wrote:
URL: http://llvm.org/viewvc/llvm-project?rev=46045view=rev
Log:
Do not strip llvm.used values.
Nice catch,
-Chris
___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
On Jan 15, 2008, at 1:36 PM, Wojciech Matyjewicz wrote:
The attached patch should fix the aforementioned bug. It passes
DejaGnu
testsuite. Nick also checked that it passes llvm-test and llvm-gcc
bootstrap (thanks!).
Oooh cool!
The patch:
1) changes SCEVSDivExpr into SCEVUDivExpr,
2)
Author: void
Date: Tue Jan 15 23:46:33 2008
New Revision: 46048
URL: http://llvm.org/viewvc/llvm-project?rev=46048view=rev
Log:
Creating llvmgcc42-2008 branch
Added:
llvm-gcc-4.2/tags/Apple/llvmgcc42-2008/trunk/
- copied from r46047, llvm-gcc-4.2/trunk/
Author: lattner
Date: Tue Jan 15 23:49:24 2008
New Revision: 46050
URL: http://llvm.org/viewvc/llvm-project?rev=46050view=rev
Log:
Factor the ReachesChainWithoutSideEffects out of dag combiner into
a public SDOperand::reachesChainWithoutSideEffects method. No
functionality change.
Modified:
Author: lattner
Date: Tue Jan 15 23:52:18 2008
New Revision: 46052
URL: http://llvm.org/viewvc/llvm-project?rev=46052view=rev
Log:
various whitespace cleanups, no functionality change.
Modified:
llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Modified:
Author: lattner
Date: Tue Jan 15 23:53:06 2008
New Revision: 46053
URL: http://llvm.org/viewvc/llvm-project?rev=46053view=rev
Log:
make the 'fp return in ST(0)' optimization smart enough to
look through token factor
Modified:
llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Modified:
Author: lattner
Date: Tue Jan 15 23:56:59 2008
New Revision: 46054
URL: http://llvm.org/viewvc/llvm-project?rev=46054view=rev
Log:
My previous commit had an incomplete message, it should have been:
make the 'fp return in ST(0)' optimization smart enough to
look through token factor nodes. THis
Author: lattner
Date: Wed Jan 16 00:19:45 2008
New Revision: 46055
URL: http://llvm.org/viewvc/llvm-project?rev=46055view=rev
Log:
introduce a isTypeInSSEReg predicate, which allows us to simplify
some code. No functionality change.
Modified:
llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Author: lattner
Date: Wed Jan 16 00:22:04 2008
New Revision: 46056
URL: http://llvm.org/viewvc/llvm-project?rev=46056view=rev
Log:
VLA's aren't c90, use alloca instead.
Modified:
llvm-gcc-4.2/trunk/gcc/config/darwin.h
Modified: llvm-gcc-4.2/trunk/gcc/config/darwin.h
URL:
Author: lattner
Date: Wed Jan 16 00:22:21 2008
New Revision: 46057
URL: http://llvm.org/viewvc/llvm-project?rev=46057view=rev
Log:
vla's aren't C90, use alloca instead.
Modified:
llvm-gcc-4.0/trunk/gcc/config/darwin.h
Modified: llvm-gcc-4.0/trunk/gcc/config/darwin.h
URL:
Author: lattner
Date: Wed Jan 16 00:24:21 2008
New Revision: 46058
URL: http://llvm.org/viewvc/llvm-project?rev=46058view=rev
Log:
make it more clear that this predicate only applies to scalar FP types.
Modified:
llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Author: void
Date: Wed Jan 16 00:27:12 2008
New Revision: 46059
URL: http://llvm.org/viewvc/llvm-project?rev=46059view=rev
Log:
Creating llvmgcc42-2009 branch
Added:
llvm-gcc-4.2/tags/Apple/llvmgcc42-2009/
- copied from r46058, llvm-gcc-4.2/trunk/
Hello, Bill
+if (BigEndian == FLOAT_WORDS_BIG_ENDIAN) {
+ UArr[0] = RealArr[0]; // Long - int convert
+ UArr[1] = RealArr[1];
+} else {
+ UArr[0] = RealArr[1]; // Long - int convert
+ UArr[1] = RealArr[0];
+}
+
Why don't do just something like this:
Author: lattner
Date: Wed Jan 16 00:57:07 2008
New Revision: 46061
URL: http://llvm.org/viewvc/llvm-project?rev=46061view=rev
Log:
Change legalizeop of FP_ROUND and FP_EXTEND to not fall through
into the ANY_EXTEND/ZERO_EXTEND/SIGN_EXTEND code to simplify it.
Unmerge the code for FP_ROUND and
Author: lattner
Date: Wed Jan 16 01:03:22 2008
New Revision: 46062
URL: http://llvm.org/viewvc/llvm-project?rev=46062view=rev
Log:
simplify a bunch of code by using SelectionDAG::CreateStackTemporary
instead of inlining its body.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
Author: void
Date: Wed Jan 16 01:23:34 2008
New Revision: 46063
URL: http://llvm.org/viewvc/llvm-project?rev=46063view=rev
Log:
Prototypes required.
Modified:
llvm-gcc-4.2/trunk/gcc/config/i386/i386-protos.h
Modified: llvm-gcc-4.2/trunk/gcc/config/i386/i386-protos.h
URL:
Hi Anton,
+if (BigEndian == FLOAT_WORDS_BIG_ENDIAN) {
+ UArr[0] = RealArr[0]; // Long - int convert
+ UArr[1] = RealArr[1];
+} else {
+ UArr[0] = RealArr[1]; // Long - int convert
+ UArr[1] = RealArr[0];
+}
+
Why don't do just something like this:
Author: void
Date: Wed Jan 16 01:28:16 2008
New Revision: 46064
URL: http://llvm.org/viewvc/llvm-project?rev=46064view=rev
Log:
Simplify the code to make it more readable.
Modified:
llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp
Modified: llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp
URL:
Chris Lattner wrote:
I think we should wait to address this after LLVM 2.2 branches. That
said, the short-term fix is to round up to the next power of two (e.g.
32 or 64 bits) and disable this transformation when that size is not a
normal llvm size (8, 16, 32, 64).
Hopefully llvm 2.3
On 1/16/08, Bill Wendling [EMAIL PROTECTED] wrote:
Either way is fine. You're correct that your way is a bit more
readable. Done.
Thanks!
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
Author: lattner
Date: Wed Jan 16 01:45:30 2008
New Revision: 46065
URL: http://llvm.org/viewvc/llvm-project?rev=46065view=rev
Log:
rename ExpandBIT_CONVERT to EmitStackConvert, generalizing
it to allow it to emit different load and store kinds.
Modified:
Author: lattner
Date: Wed Jan 16 01:51:34 2008
New Revision: 46066
URL: http://llvm.org/viewvc/llvm-project?rev=46066view=rev
Log:
merge a few pieces of code that do the store/load to stack
pattern to use EmitStackConvert now.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
On Jan 15, 2008, at 11:29 PM, Wojciech Matyjewicz wrote:
Chris Lattner wrote:
I think we should wait to address this after LLVM 2.2 branches. That
said, the short-term fix is to round up to the next power of two
(e.g.
32 or 64 bits) and disable this transformation when that size is
Hi Bill,
+// Determine endianness of host machine.
+union {
+ int x;
+ char y[sizeof(int)];
+} u;
+u.x = 1;
+bool BigEndian = (u.y[0] != 1);
how about using bigEndianHost in System/Host.h instead?
Ciao,
Duncan.
70 matches
Mail list logo