- Jul 29, 2007
-
-
Christopher Lamb authored
Change the x86 backend to use extract_subreg for truncation operations. Passes DejaGnu, SingleSource and MultiSource. llvm-svn: 40578
-
- Jul 28, 2007
-
-
Christopher Lamb authored
llvm-svn: 40572
-
- Jul 27, 2007
-
-
Devang Patel authored
to make it easier to understand failure. llvm-svn: 40567
-
Duncan Sands authored
llvm-svn: 40566
-
Devang Patel authored
llvm-svn: 40564
-
Devang Patel authored
llvm-svn: 40560
-
Chuck Rose III authored
This commit fixes two things. One is a pair of VStudio compiler errors stemming from variables which defined within the for loop statement and also within the body of the for loop. I fixed these by renaming one of the two variables. Additionally, I've made the Function*->ExFunc map in ExternalFunctions.cpp a ManagedStatic object, so that cleanup will be done on llvm_shutdown. In repeated uses of the interpreter, where the same Function* address may get used for completely differnet functions, this was causing a crash. llvm-svn: 40558
-
Owen Anderson authored
llvm-svn: 40556
-
Dan Gohman authored
Make the alignedload and alignedstore patterns always require 16-byte alignment. This way when they are used in the "Fs" instructions, in which a vector instruction is used for a scalar purpose, they can still require the full vector alignment. And add a regression test for this. llvm-svn: 40555
-
Duncan Sands authored
with StructReturn and ByVal, so make it so. llvm-svn: 40554
-
Duncan Sands authored
Verifier::visitFunction is suffering a combinatorial explosion due to the number of mutually incompatible attributes. This patch tidies the whole thing up using attribute masks. While there I fixed some small bugs: (1) the ByVal attribute tests cast a type to a pointer type, which can fail. Yes, the fact it is of a pointer type is checked before, but a failing check does not cause the program to exit, it continues on outputting further errors; (2) Nothing was checking that an sret attribute is on the first parameter; (3) nothing was checking that a function for which isStructReturn() is true has a parameter with the sret attribute and vice-versa (I don't think it is possible for this to go wrong, but it seems right to check it). llvm-svn: 40553
-
Duncan Sands authored
still under discussion. llvm-svn: 40549
-
Christopher Lamb authored
llvm-svn: 40548
-
Evan Cheng authored
llvm-svn: 40547
-
- Jul 26, 2007
-
-
Devang Patel authored
llvm-svn: 40546
-
Owen Anderson authored
llvm-svn: 40542
-
Owen Anderson authored
almost the same things from LCSSA. llvm-svn: 40540
-
Evan Cheng authored
llvm-svn: 40538
-
Evan Cheng authored
llvm-svn: 40537
-
Evan Cheng authored
llvm-svn: 40535
-
Dan Gohman authored
offsets. The SrcValueOffset values are the real offsets from the SrcValue base pointers. llvm-svn: 40534
-
Dan Gohman authored
to Instruction::mayWriteToMemory, fixing a FIXME, and helping various places that call mayWriteToMemory directly. llvm-svn: 40533
-
Dan Gohman authored
from Relation::contradicts in Relation::incorporate. llvm-svn: 40531
-
Dan Gohman authored
llvm-svn: 40530
-
Dan Gohman authored
don't get decorated as if for immediate fields for instructions. llvm-svn: 40529
-
Dan Gohman authored
llvm-svn: 40528
-
Christopher Lamb authored
Add a MachineFunction pass, which runs post register allocation, that turns subreg insert/extract instruction into register copies. This ensures correct code gen if the coalescer isn't able to remove all subreg instructions. llvm-svn: 40521
-
Christopher Lamb authored
llvm-svn: 40520
-
Christopher Lamb authored
llvm-svn: 40518
-
Evan Cheng authored
llvm-svn: 40517
-
Christopher Lamb authored
llvm-svn: 40516
-
Christopher Lamb authored
llvm-svn: 40514
-
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
-
Christopher Lamb authored
llvm-svn: 40506
-
Dan Gohman authored
x86 target, replacing them with the new alignment attributes on memory references. llvm-svn: 40504
-
Owen Anderson authored
llvm-svn: 40503
-
Evan Cheng authored
llvm-svn: 40502
-
Evan Cheng authored
llvm-svn: 40501
-
Evan Cheng authored
llvm-svn: 40500
-
Evan Cheng authored
llvm-svn: 40499
-