- Jul 19, 2007
-
-
Evan Cheng authored
InOperandList. This gives one piece of important information: # of results produced by an instruction. An example of the change: def ADD32rr : I<0x01, MRMDestReg, (ops GR32:$dst, GR32:$src1, GR32:$src2), "add{l} {$src2, $dst|$dst, $src2}", [(set GR32:$dst, (add GR32:$src1, GR32:$src2))]>; => def ADD32rr : I<0x01, MRMDestReg, (outs GR32:$dst), (ins GR32:$src1, GR32:$src2), "add{l} {$src2, $dst|$dst, $src2}", [(set GR32:$dst, (add GR32:$src1, GR32:$src2))]>; llvm-svn: 40033
-
Steve Naroff authored
Work towards fixing crasher with compound literals... Before this commit, we crashed in ParseBinOp... [dylan:~/llvm/tools/clang] admin% ../../Debug/bin/clang -parse-ast-check compound_literal.c SemaExpr.cpp:1298: failed assertion `(rhs != 0) && "ParseBinOp(): missing right expression"' With this commit, we still crash in the newly added action ParseCompoundLiteral (which is progress:-) [dylan:~/llvm/tools/clang] admin% ../../Debug/bin/clang -parse-ast-check compound_literal.c SemaExpr.cpp:478: failed assertion `(Op != 0) && "ParseCompoundLiteral(): missing expression"' The crash go away once the actions return AST nodes. I will do this in a separate commit. llvm-svn: 40032
-
Evan Cheng authored
llvm-svn: 40030
-
Chris Lattner authored
return a null type. If there is an error parsing the type, pick a new type for error recovery purposes. llvm-svn: 40029
-
Evan Cheng authored
llvm-svn: 40028
-
Chris Lattner authored
llvm-svn: 40027
-
Chris Lattner authored
a function-like macro invocation. Patch contributed by Neil Booth. llvm-svn: 40026
-
Devang Patel authored
llvm-svn: 40025
-
Devang Patel authored
This fixes PR1559. llvm-svn: 40024
-
Devang Patel authored
llvm-svn: 40023
-
Evan Cheng authored
llvm-svn: 40022
-
- Jul 18, 2007
-
-
Evan Cheng authored
llvm-svn: 40020
-
Evan Cheng authored
Use MOV instead of LEA to restore ESP if callee-saved frame size is 0; if previous instruction updates esp, fold it in. llvm-svn: 40018
-
Dan Gohman authored
end of a BasicBlock and have an alignment parameter. llvm-svn: 40016
-
Dan Gohman authored
and stores that have a specified alignment of less than 16 bytes now use instructions that support misaligned memory references. llvm-svn: 40015
-
Owen Anderson authored
would result in calling realloc() on a null pointer. Instead, if we encounter this situation, make a normal call to malloc(). llvm-svn: 40014
-
Chris Lattner authored
llvm-svn: 40012
-
Chris Lattner authored
This allows us to compile this: struct abc { char A; double D; }; int foo() { return sizeof(struct abc); return __alignof__(struct abc); } Into: ret i32 16 ret i32 8 llvm-svn: 40010
-
Chris Lattner authored
llvm-svn: 40009
-
Steve Naroff authored
First round of extended vector support. Here is an overview... - added ocu_vector_type attribute, Sema::HandleOCUVectorTypeAttribute(). - added new AST node, OCUVectorType, a subclass of VectorType. - added ASTContext::getOCUVectorType. - changed ASTContext::convertToVectorType() to ASTContext::getVectorType(). This is unrelated to extended vectors, however I was in the vicinity and it was on my todo list. Added a FIXME to Sema::HandleVectorTypeAttribute to deal with converting complex types. llvm-svn: 40007
-
Chris Lattner authored
hooked up to anything, so it's not very useful yet. llvm-svn: 40006
-
Chris Lattner authored
llvm-svn: 40005
-
Dan Gohman authored
alignment is equal to the stack alignment. llvm-svn: 40004
-
Chris Lattner authored
llvm-svn: 40003
-
Evan Cheng authored
llvm-svn: 39998
-
Chris Lattner authored
llvm-svn: 39996
-
Reid Spencer authored
llvm-svn: 39995
-
Chris Lattner authored
llvm-svn: 39994
-
Chris Lattner authored
llvm-svn: 39993
-
Reid Spencer authored
configured llvm-gcc instead. llvm-svn: 39992
-
Reid Spencer authored
llvm-svn: 39991
-
Nick Lewycky authored
llvm-svn: 39990
-
Chris Lattner authored
llvm-svn: 39989
-
- Jul 17, 2007
-
-
Owen Anderson authored
Note: FastDSE now equals or exceeds the results of old DSE on all of SPEC2000 and SPEC2006. Unless major problems show up in the testers, it will likely completely replace old DSE in the near future. llvm-svn: 39986
-
Evan Cheng authored
llvm-svn: 39984
-
Andrew Lenharth authored
llvm-svn: 39983
-
Evan Cheng authored
llvm-svn: 39980
-
Evan Cheng authored
llvm-svn: 39979
-
Evan Cheng authored
llvm-svn: 39978
-
Evan Cheng authored
llvm-svn: 39977
-