Author: evancheng
Date: Tue Jan 15 02:18:25 2008
New Revision: 46004
URL: http://llvm.org/viewvc/llvm-project?rev=46004&view=rev
Log:
Make use of existing gcc facility to determine if an aggregate argument should
be passed ByVal in x86-64 mode.
Modified:
llvm-gcc-4.2/trunk/gcc/config/i386/i3
> URL: http://llvm.org/viewvc/llvm-project?rev=46004&view=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 p
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 VERBOS
Author: baldrick
Date: Tue Jan 15 13:55:41 2008
New Revision: 46006
URL: http://llvm.org/viewvc/llvm-project?rev=46006&view=rev
Log:
Testcase for gimplify_expr crash caused by an
unexpected placeholder_expr.
Added:
llvm/trunk/test/FrontendAda/placeholder.adb
Added: llvm/trunk/test/FrontendAd
Author: gordon
Date: Tue Jan 15 14:02:11 2008
New Revision: 46007
URL: http://llvm.org/viewvc/llvm-project?rev=46007&view=rev
Log:
Fix a memory correctness error noticed by valgrind (harmless in practice).
Thanks to Duncan Sands for noticing it.
Modified:
llvm/trunk/include/llvm/Support/Stri
Author: baldrick
Date: Tue Jan 15 15:03:51 2008
New Revision: 46008
URL: http://llvm.org/viewvc/llvm-project?rev=46008&view=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:
http://llvm
Author: void
Date: Tue Jan 15 15:16:32 2008
New Revision: 46009
URL: http://llvm.org/viewvc/llvm-project?rev=46009&view=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
U
Author: lattner
Date: Tue Jan 15 15:35:53 2008
New Revision: 46010
URL: http://llvm.org/viewvc/llvm-project?rev=46010&view=rev
Log:
Add support for builtin_trap, which was basically just broken before.
Modified:
llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp
Modified: llvm-gcc-4.2/trunk/gcc/llvm-co
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 B
Author: lattner
Date: Tue Jan 15 15:38:04 2008
New Revision: 46011
URL: http://llvm.org/viewvc/llvm-project?rev=46011&view=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=46012&view=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:
http://llvm.o
Author: cfr
Date: Tue Jan 15 15:43:17 2008
New Revision: 46013
URL: http://llvm.org/viewvc/llvm-project?rev=46013&view=rev
Log:
Add files to windows project files. Also include explicitly so
that vstudio build works
Modified:
llvm/trunk/utils/TableGen/CodeGenDAGPatterns.cpp
llvm/trunk/
Author: lattner
Date: Tue Jan 15 15:58:22 2008
New Revision: 46015
URL: http://llvm.org/viewvc/llvm-project?rev=46015&view=rev
Log:
no need to expand ISD::TRAP to X86ISD::TRAP, just match ISD::TRAP.
Modified:
llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
llvm/trunk/lib/Target/X86/X86ISelL
Author: lattner
Date: Tue Jan 15 15:58:08 2008
New Revision: 46014
URL: http://llvm.org/viewvc/llvm-project?rev=46014&view=rev
Log:
Add support for targets that have a legal ISD::TRAP.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
llvm/trunk/lib/CodeGen/SelectionDAG/Target
Author: resistor
Date: Tue Jan 15 16:02:46 2008
New Revision: 46016
URL: http://llvm.org/viewvc/llvm-project?rev=46016&view=rev
Log:
Remove DefInst from LiveVariables::VarInfo. Use the facilities on
MachineRegisterInfo instead.
Modified:
llvm/trunk/lib/CodeGen/LiveVariables.cpp
llvm/tru
Author: lattner
Date: Tue Jan 15 16:02:54 2008
New Revision: 46017
URL: http://llvm.org/viewvc/llvm-project?rev=46017&view=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=46018&view=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=46019&view=rev
Log:
If someone wants to implement ppc TRAP, they can go for it :)
Modified:
llvm/trunk/lib/Target/PowerPC/README.txt
Modified: llvm/trunk/lib/Target/PowerPC/README.
Author: lattner
Date: Tue Jan 15 16:17:26 2008
New Revision: 46020
URL: http://llvm.org/viewvc/llvm-project?rev=46020&view=rev
Log:
new testcase for llvm.trap.
Added:
llvm/trunk/test/CodeGen/Generic/trap.ll
Added: llvm/trunk/test/CodeGen/Generic/trap.ll
URL:
http://llvm.org/viewvc/llvm-proj
Author: evancheng
Date: Tue Jan 15 16:19:35 2008
New Revision: 46021
URL: http://llvm.org/viewvc/llvm-project?rev=46021&view=rev
Log:
Unbreak the build.
Modified:
llvm/trunk/include/llvm/CodeGen/LiveVariables.h
Modified: llvm/trunk/include/llvm/CodeGen/LiveVariables.h
URL:
http://llvm.org/v
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=46021&view=rev
Log:
Unbreak the build.
Modified:
llvm/trunk/include/llvm/CodeGen/LiveVariables.h
Modified: l
Author: lattner
Date: Tue Jan 15 16:22:02 2008
New Revision: 46023
URL: http://llvm.org/viewvc/llvm-project?rev=46023&view=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:
http://llvm.org/viewvc/llvm-p
On Jan 15, 2008, at 2:02 PM, Owen Anderson wrote:
> URL: http://llvm.org/viewvc/llvm-project?rev=46016&view=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=46024&view=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:
http
Author: lattner
Date: Tue Jan 15 16:38:12 2008
New Revision: 46025
URL: http://llvm.org/viewvc/llvm-project?rev=46025&view=rev
Log:
add a test to ensure that argpromote of one argument doesn't
break the byval attr on some other argument.
Added:
llvm/trunk/test/Transforms/ArgumentPromotion/by
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
Author: lattner
Date: Tue Jan 15 16:50:50 2008
New Revision: 46026
URL: http://llvm.org/viewvc/llvm-project?rev=46026&view=rev
Log:
improve compatibility with mingw, patch by Alain Frisch
Modified:
llvm/trunk/Makefile.config.in
llvm/trunk/lib/VMCore/Makefile
Modified: llvm/trunk/Makefile
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?
Chris Lattner wrote:
> Author: lattner
> Date: Tue Jan 15 16:50:50 2008
> New Revision: 46026
>
> URL: http://llvm.org/viewvc/llvm-project?rev=46026&view=rev
> Log:
> improve compatibility with mingw, patch by Alain Frisch
>
> Modified:
> llvm/trunk/Makefile.config.in
> llvm/trunk/lib/VMC
Author: resistor
Date: Tue Jan 15 16:58:11 2008
New Revision: 46027
URL: http://llvm.org/viewvc/llvm-project?rev=46027&view=rev
Log:
Move some calls to getVRegDef higher in the callgraph, so they don't get
executed as frequently in performance sensitive code.
Modified:
llvm/trunk/include/llv
Author: johannes
Date: Tue Jan 15 17:20:17 2008
New Revision: 46028
URL: http://llvm.org/viewvc/llvm-project?rev=46028&view=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=46029&view=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 t
Author: johannes
Date: Tue Jan 15 17:25:27 2008
New Revision: 46030
URL: http://llvm.org/viewvc/llvm-project?rev=46030&view=rev
Log:
Missed file from previous checkin.
Modified:
llvm/trunk/lib/Target/TargetAsmInfo.cpp
Modified: llvm/trunk/lib/Target/TargetAsmInfo.cpp
URL:
http://llvm.org/v
Author: evancheng
Date: Tue Jan 15 17:26:36 2008
New Revision: 46031
URL: http://llvm.org/viewvc/llvm-project?rev=46031&view=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
llvm-gcc-4.2/trunk/gcc/config/
Author: lattner
Date: Tue Jan 15 17:27:40 2008
New Revision: 46032
URL: http://llvm.org/viewvc/llvm-project?rev=46032&view=rev
Log:
Commit a piece that I missed before, patch by Alain Frisch
Modified:
llvm/trunk/Makefile.rules
Modified: llvm/trunk/Makefile.rules
URL:
http://llvm.org/viewvc/
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.ed
Author: dpatel
Date: Tue Jan 15 17:52:34 2008
New Revision: 46033
URL: http://llvm.org/viewvc/llvm-project?rev=46033&view=rev
Log:
- Introduces versioning macro LLVM_LTO_VERSION
- Communicate symbol visibility
- Communicate code generation model
Modified:
llvm/trunk/include/llvm/LinkTimeOptim
Author: kremenek
Date: Tue Jan 15 17:53:53 2008
New Revision: 46034
URL: http://llvm.org/viewvc/llvm-project?rev=46034&view=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: llvm/tru
Author: lattner
Date: Tue Jan 15 19:15:26 2008
New Revision: 46041
URL: http://llvm.org/viewvc/llvm-project?rev=46041&view=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: lattner
Date: Tue Jan 15 19:19:03 2008
New Revision: 46042
URL: http://llvm.org/viewvc/llvm-project?rev=46042&view=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=46039&view=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=46041&view=rev
> Log:
> The final ultimate(?) fix for the silly objc .reference thing. Instead of
> ignoring
Author: void
Date: Tue Jan 15 19:30:13 2008
New Revision: 46043
URL: http://llvm.org/viewvc/llvm-project?rev=46043&view=rev
Log:
Creating llvmCore-2008 branch
Added:
llvm/tags/Apple/llvmCore-2008/
- copied from r46042, llvm/trunk/
___
llvm-co
Author: void
Date: Tue Jan 15 19:31:37 2008
New Revision: 46044
URL: http://llvm.org/viewvc/llvm-project?rev=46044&view=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=46045&view=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
llvm/trunk/
Author: lattner
Date: Tue Jan 15 21:53:20 2008
New Revision: 46046
URL: http://llvm.org/viewvc/llvm-project?rev=46046&view=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=46047&view=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=46045&view=rev
> Log:
> Do not strip llvm.used values.
Nice catch,
-Chris
___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mai
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
Author: void
Date: Tue Jan 15 23:46:33 2008
New Revision: 46048
URL: http://llvm.org/viewvc/llvm-project?rev=46048&view=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=46050&view=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=46052&view=rev
Log:
various whitespace cleanups, no functionality change.
Modified:
llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Modified: llvm/trunk/lib/Target/X86/X86ISelLowerin
Author: lattner
Date: Tue Jan 15 23:53:06 2008
New Revision: 46053
URL: http://llvm.org/viewvc/llvm-project?rev=46053&view=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: llvm/tru
Author: lattner
Date: Tue Jan 15 23:56:59 2008
New Revision: 46054
URL: http://llvm.org/viewvc/llvm-project?rev=46054&view=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=46055&view=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=46056&view=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:
http://llvm.org/vi
Author: lattner
Date: Wed Jan 16 00:22:21 2008
New Revision: 46057
URL: http://llvm.org/viewvc/llvm-project?rev=46057&view=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:
http://llvm.org/vi
Author: lattner
Date: Wed Jan 16 00:24:21 2008
New Revision: 46058
URL: http://llvm.org/viewvc/llvm-project?rev=46058&view=rev
Log:
make it more clear that this predicate only applies to scalar FP types.
Modified:
llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
llvm/trunk/lib/Target/X86/X86
Author: void
Date: Wed Jan 16 00:27:12 2008
New Revision: 46059
URL: http://llvm.org/viewvc/llvm-project?rev=46059&view=rev
Log:
Creating llvmgcc42-2009 branch
Added:
llvm-gcc-4.2/tags/Apple/llvmgcc42-2009/
- copied from r46058, llvm-gcc-4.2/trunk/
_
Author: lattner
Date: Wed Jan 16 00:32:02 2008
New Revision: 46060
URL: http://llvm.org/viewvc/llvm-project?rev=46060&view=rev
Log:
make sure to use a cpu that has sse.
Modified:
llvm/trunk/test/CodeGen/X86/fp-stack-ret-store.ll
Modified: llvm/trunk/test/CodeGen/X86/fp-stack-ret-store.ll
URL
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
Author: lattner
Date: Wed Jan 16 00:57:07 2008
New Revision: 46061
URL: http://llvm.org/viewvc/llvm-project?rev=46061&view=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 F
Author: lattner
Date: Wed Jan 16 01:03:22 2008
New Revision: 46062
URL: http://llvm.org/viewvc/llvm-project?rev=46062&view=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=46063&view=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:
http://llvm.org/vi
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 somethi
Author: void
Date: Wed Jan 16 01:28:16 2008
New Revision: 46064
URL: http://llvm.org/viewvc/llvm-project?rev=46064&view=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:
http://llvm.o
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 l
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=46065&view=rev
Log:
rename ExpandBIT_CONVERT to EmitStackConvert, generalizing
it to allow it to emit different load and store kinds.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/
Author: lattner
Date: Wed Jan 16 01:51:34 2008
New Revision: 46066
URL: http://llvm.org/viewvc/llvm-project?rev=46066&view=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
M
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
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.
72 matches
Mail list logo