- Jul 27, 2007
-
-
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
-
Steve Naroff authored
Add Type::isOCUVectorType(). Convert isFunctionType(), isStructureType(), and isUnionType() to the new API. llvm-svn: 40541
-
Owen Anderson authored
almost the same things from LCSSA. llvm-svn: 40540
-
Evan Cheng authored
llvm-svn: 40539
-
Evan Cheng authored
llvm-svn: 40538
-
Evan Cheng authored
llvm-svn: 40537
-
Evan Cheng authored
llvm-svn: 40536
-
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
-
Dan Gohman authored
llvm-svn: 40527
-
Steve Naroff authored
#include <stdio.h> int main(void) { int test = 0; printf("Type is %s\n", (test >= 1 ? "short" : "char")); return (0); } It comes up with a diagnostic that's misleading upon first read. t.c:7:36: error: incompatible operand types ('char *' and 'char *') printf("Type is %s\n", (test >= 1 ? "short" : "char")); ^ ~~~~~~~ ~~~~~~ 1 diagnostic generated. llvm-svn: 40526
-
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: 40519
-
Christopher Lamb authored
llvm-svn: 40518
-
Evan Cheng authored
llvm-svn: 40517
-
Christopher Lamb authored
llvm-svn: 40516
-
Christopher Lamb authored
llvm-svn: 40515
-
Christopher Lamb authored
llvm-svn: 40514
-
Christopher Lamb authored
llvm-svn: 40513
-
Chris Lattner authored
llvm-svn: 40512
-
Chris Lattner authored
llvm-svn: 40511
-
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
-
Steve Naroff authored
llvm-svn: 40509
-
Steve Naroff authored
Various improvements to Sema::ParseMemberReferenceExpr(). - Added source range support to Diag's. - Used the new type predicate API to remove dealing with the canonical type explicitly. - Added Type::isRecordType(). - Removed some casts. - Removed a const qualifier from RecordType::getDecl(). llvm-svn: 40508
-
Christopher Lamb authored
llvm-svn: 40507
-
Christopher Lamb authored
llvm-svn: 40506
-
Dan Gohman authored
x86 target, replacing them with the new alignment attributes on memory references. llvm-svn: 40504
-