- Aug 09, 2007
-
-
Dale Johannesen authored
llvm-svn: 40965
-
Dale Johannesen authored
(constants are still not handled). Adds ConvertActions to control fp-to-fp conversions (these are currently defaulted for all other targets, so no changes there). llvm-svn: 40958
-
Scott Michel authored
to do so. llvm-svn: 40955
-
- Aug 04, 2007
-
-
Chandler Carruth authored
This is the patch to provide clean intrinsic function overloading support in LLVM. It cleans up the intrinsic definitions and generally smooths the process for more complicated intrinsic writing. It will be used by the upcoming atomic intrinsics as well as vector and float intrinsics in the future. This also changes the syntax for llvm.bswap, llvm.part.set, llvm.part.select, and llvm.ct* intrinsics. They are automatically upgraded by both the LLVM ASM reader and the bitcode reader. The test cases have been updated, with special tests added to ensure the automatic upgrading is supported. llvm-svn: 40807
-
- Aug 02, 2007
-
-
Chris Lattner authored
llvm-svn: 40748
-
Evan Cheng authored
llvm-svn: 40722
-
Scott Michel authored
llvm-svn: 40712
-
Evan Cheng authored
simply specify them as results and let scheduledag handle them. That is, instead of SDOperand Flag = DAG.getTargetNode(Opc, MVT::i32, MVT::Flag, ...) SDOperand Result = DAG.getCopyFromReg(Chain, X86::EAX, MVT::i32, Flag) Just write: SDOperand Result = DAG.getTargetNode(Opc, MVT::i32, MVT::i32, ...) And let scheduledag emit the move from X86::EAX to a virtual register. llvm-svn: 40710
-
- Aug 01, 2007
-
-
Lauro Ramos Venancio authored
llvm-svn: 40682
-
- Jul 30, 2007
-
-
Scott Michel authored
- Fixed an existing unexpanded tab. llvm-svn: 40605
-
Dan Gohman authored
llvm-svn: 40598
-
- Jul 27, 2007
-
-
Duncan Sands authored
still under discussion. llvm-svn: 40549
-
- Jul 26, 2007
-
-
Dan Gohman authored
offsets. The SrcValueOffset values are the real offsets from the SrcValue base pointers. llvm-svn: 40534
-
Christopher Lamb authored
llvm-svn: 40520
-
Christopher Lamb authored
llvm-svn: 40516
-
Christopher Lamb authored
Fix infinite recursion for when extract_vector_elt is legal. Unfortunately no public targets use this code-path, so no test. llvm-svn: 40510
-
- Jul 25, 2007
-
-
Dan Gohman authored
llvm-svn: 40480
-
- Jul 23, 2007
-
-
Dan Gohman authored
llvm-svn: 40443
-
- Jul 19, 2007
-
-
Duncan Sands authored
what it thought it was doing. llvm-svn: 40044
-
- Jul 18, 2007
-
-
Dan Gohman authored
alignment is equal to the stack alignment. llvm-svn: 40004
-
- Jul 16, 2007
-
-
Dan Gohman authored
llvm-svn: 39921
-
- Jul 14, 2007
-
-
Nick Lewycky authored
llvm-svn: 39856
-
Anton Korobeynikov authored
This patch fills the last necessary bits to enable exceptions handling in LLVM. Currently only on x86-32/linux. In fact, this patch adds necessary intrinsics (and their lowering) which represent really weird target-specific gcc builtins used inside unwinder. After corresponding llvm-gcc patch will land (easy) exceptions should be more or less workable. However, exceptions handling support should not be thought as 'finished': I expect many small and not so small glitches everywhere. llvm-svn: 39855
-
- Jul 13, 2007
-
-
Dan Gohman authored
llvm-svn: 39827
-
Dan Gohman authored
feedback. This theoretically makes the common (scalar) case more efficient. llvm-svn: 39823
-
Dale Johannesen authored
Change name of -sched option and DEBUG_TYPE to pre-RA-sched; adjust testcases. llvm-svn: 39816
-
- Jul 10, 2007
-
-
Dan Gohman authored
the new CONCAT_VECTORS node type instead, as that's what legalize uses now. And add a peep for EXTRACT_VECTOR_ELT of INSERT_VECTOR_ELT. llvm-svn: 38503
-
Evan Cheng authored
llvm-svn: 38496
-
Dan Gohman authored
Thanks to Lauro for spotting this! llvm-svn: 38491
-
Dan Gohman authored
undef in either the left or right operand. llvm-svn: 38489
-
Evan Cheng authored
When a node value is only used by a CopyToReg, use the user's dest. This should not be restricted to nodes that produce only a single value. llvm-svn: 38485
-
Evan Cheng authored
llvm-svn: 38484
-
Dan Gohman authored
simplifying loads and stores. llvm-svn: 38473
-
- Jul 09, 2007
-
-
Dan Gohman authored
register ordering, for both physical and virtual registers. Update the PPC target lowering for calls to expect registers for the call result to already be in target order. llvm-svn: 38471
-
Dan Gohman authored
updating it with calls to setIndexedLoadAction/setIndexedStoreAction, which only update a few bits at a time. This avoids ostensible undefined behavior of operationg on values which may be trap-representations, and as a practical matter fixes errors from valgrind, which doesn't track uninitialized memory with bit granularity. llvm-svn: 38468
-
Chris Lattner authored
DAGCombiner.cpp: In member function 'llvm::SDOperand<unnamed>::DAGCombiner::visitOR(llvm::SDNode*)': DAGCombiner.cpp:1608: warning: passing negative value '-0x00000000000000001' for argument 1 to 'llvm::SDOperand llvm::SelectionDAG::getConstant(uint64_t, llvm::MVT::ValueType, bool)' oiy. llvm-svn: 38458
-
- Jul 06, 2007
-
-
Duncan Sands authored
so must be lowered to a value, not nothing at all. Subtle point: I made eh_selector return 0 and eh_typeid_for return 1. This means that only cleanups (destructors) will be run as the exception unwinds [if eh_typeid_for returned 0 then it would be as if the first catch always matched, and the corresponding handler would be run], which is probably want you want in the CBE. llvm-svn: 37947
-
Rafael Espindola authored
llvm-svn: 37940
-
Duncan Sands authored
fix, that is adequate while PR1508 remains unresolved. llvm-svn: 37938
-
Duncan Sands authored
instead. llvm-svn: 37937
-