- Nov 27, 2007
-
-
Ted Kremenek authored
NumericLiteralParser::GetFloatValue(). Upon method return, this flag has the value true if the returned APFloat can exactly represent the number in the parsed text, and false otherwise. Modified the implementation of GetFloatValue() to parse literals using APFloat's convertFromString method (which allows us to set the value of isExact). llvm-svn: 44339
-
- Nov 26, 2007
-
-
Ted Kremenek authored
llvm-svn: 44338
-
Ted Kremenek authored
llvm-svn: 44337
-
Ted Kremenek authored
http://llvm.org/viewvc/llvm-project?view=rev&revision=44089 "Decl" once again can no longer be NULL, so the NULL checks are not needed. llvm-svn: 44336
-
Fariborz Jahanian authored
llvm-svn: 44335
-
Kevin authored
Removes link to status page till the info gets added. Someone put us on Reddit; Don't want it to look bad on the project. :) http://programming.reddit.com/info/61f8g/comments/ llvm-svn: 44334
-
Fariborz Jahanian authored
A potential API bug in ReplaceText pending (A FIXME is added). llvm-svn: 44333
-
Ted Kremenek authored
the LHS subexpression can be NULL. Patch provided by Nuno Lopes! llvm-svn: 44328
-
Ted Kremenek authored
extension "?:" for the ternary operator, e.g.: x ?: y; This expression is represented in the clang ASTs as a ConditionalOperator whose LHS expression is NULL. Now we handle this special case, causing the block containing the condition to be a predecessor to the block that "merges" the values of the ternary operator. Thanks to Nuno Lopes for identifying and diagnosing this bug! llvm-svn: 44327
-
Bill Wendling authored
looking only for { and } instead of {{ and }}. Changed it to check for this explicitly. llvm-svn: 44326
-
Owen Anderson authored
llvm-svn: 44325
-
Owen Anderson authored
llvm-svn: 44324
-
Owen Anderson authored
llvm-svn: 44323
-
Chris Lattner authored
missing middle expression, and fix a codegen bug where we didn't correctly promote the condition to the right result type. This fixes PR1824. llvm-svn: 44322
-
Chris Lattner authored
llvm-svn: 44321
-
Anton Korobeynikov authored
llvm-svn: 44320
-
- Nov 25, 2007
-
-
Nick Lewycky authored
llvm-svn: 44319
-
Chris Lattner authored
llvm-svn: 44318
-
Anton Korobeynikov authored
llvm-svn: 44317
-
Chris Lattner authored
llvm-svn: 44316
-
Duncan Sands authored
trivial difference in function attributes, allow calls to it to be converted to direct calls. Based on a patch by Török Edwin. While there, move the various lists of mutually incompatible parameters etc out of the verifier and into ParameterAttributes.h. llvm-svn: 44315
-
Reid Spencer authored
llvm-svn: 44313
-
Ted Kremenek authored
Moved utility functions IgnoreParen and friends to be static inline functions defined in SemaUtil.h. Added SemaUtil.h to Xcode project. llvm-svn: 44312
-
Anders Carlsson authored
llvm-svn: 44311
-
Chris Lattner authored
sometimes emit "zero" and "all one" vectors multiple times, for example: _test2: pcmpeqd %mm0, %mm0 movq %mm0, _M1 pcmpeqd %mm0, %mm0 movq %mm0, _M2 ret instead of: _test2: pcmpeqd %mm0, %mm0 movq %mm0, _M1 movq %mm0, _M2 ret This patch fixes this by always arranging for zero/one vectors to be defined as v4i32 or v2i32 (SSE/MMX) instead of letting them be any random type. This ensures they get trivially CSE'd on the dag. This fix is also important for LegalizeDAGTypes, as it gets unhappy when the x86 backend wants BUILD_VECTOR(i64 0) to be legal even when 'i64' isn't legal. This patch makes the following changes: 1) X86TargetLowering::LowerBUILD_VECTOR now lowers 0/1 vectors into their canonical types. 2) The now-dead patterns are removed from the SSE/MMX .td files. 3) All the patterns in the .td file that referred to immAllOnesV or immAllZerosV in the wrong form now use *_bc to match them with a bitcast wrapped around them. 4) X86DAGToDAGISel::SelectScalarSSELoad is generalized to handle bitcast'd zero vectors, which simplifies the code actually. 5) getShuffleVectorZeroOrUndef is updated to generate a shuffle that is legal, instead of generating one that is illegal and expecting a later legalize pass to clean it up. 6) isZeroShuffle is generalized to handle bitcast of zeros. 7) several other minor tweaks. This patch is definite goodness, but has the potential to cause random code quality regressions. Please be on the lookout for these and let me know if they happen. llvm-svn: 44310
-
Anders Carlsson authored
llvm-svn: 44309
-
Anders Carlsson authored
llvm-svn: 44308
-
Ted Kremenek authored
llvm-svn: 44307
-
- Nov 24, 2007
-
-
Ted Kremenek authored
We accidentally were throttling the propagation of uninitialized state across assignments (e.g. x = y). Thanks to Anders Carlsson for spotting this problem. Added test cases to test suite to provide regression testing for the uninitialized values analysis. llvm-svn: 44306
-
Ted Kremenek authored
llvm-svn: 44305
-
Chris Lattner authored
llvm-svn: 44304
-
Chris Lattner authored
llvm-svn: 44303
-
Chris Lattner authored
among others. llvm-svn: 44302
-
Chris Lattner authored
Improve a comment. Unbreak Duncan's carefully written path compression where I didn't realize what was happening! llvm-svn: 44301
-
Chris Lattner authored
1) Change the interface to TargetLowering::ExpandOperationResult to take and return entire NODES that need a result expanded, not just the value. This allows us to handle things like READCYCLECOUNTER, which returns two values. 2) Implement (extremely limited) support in LegalizeDAG::ExpandOp for MERGE_VALUES. 3) Reimplement custom lowering in LegalizeDAGTypes in terms of the new ExpandOperationResult. This makes the result simpler and fully general. 4) Implement (fully general) expand support for MERGE_VALUES in LegalizeDAGTypes. 5) Implement ExpandOperationResult support for ARM f64->i64 bitconvert and ARM i64 shifts, allowing them to work with LegalizeDAGTypes. 6) Implement ExpandOperationResult support for X86 READCYCLECOUNTER and FP_TO_SINT, allowing them to work with LegalizeDAGTypes. LegalizeDAGTypes now passes several more X86 codegen tests when enabled and when type legalization in LegalizeDAG is ifdef'd out. llvm-svn: 44300
-
Chris Lattner authored
llvm-svn: 44299
-
Chris Lattner authored
llvm-svn: 44298
-
Anders Carlsson authored
llvm-svn: 44297
-
- Nov 23, 2007
-
-
Chris Lattner authored
llvm-svn: 44296
-
Chris Lattner authored
llvm-svn: 44295
-