- Feb 19, 2008
-
-
Evan Cheng authored
llvm-svn: 47300
-
Evan Cheng authored
- When DAG combiner is folding a bit convert into a BUILD_VECTOR, it should check if it's essentially a SCALAR_TO_VECTOR. Avoid turning (v8i16) <10, u, u, u> to <10, 0, u, u, u, u, u, u>. Instead, simply convert it to a SCALAR_TO_VECTOR of the proper type. - X86 now normalize SCALAR_TO_VECTOR to (BIT_CONVERT (v4i32 SCALAR_TO_VECTOR)). Get rid of X86ISD::S2VEC. llvm-svn: 47290
-
- Feb 18, 2008
-
-
Dan Gohman authored
on x86-32 since i64 itself is not a Legal type. And, update some comments. llvm-svn: 47282
-
Chris Lattner authored
llvm-svn: 47280
-
Nate Begeman authored
llvm-svn: 47279
-
Chris Lattner authored
llvm-svn: 47278
-
Dan Gohman authored
has plain one-result scalar integer multiplication instructions. This avoids expanding such instructions into MUL_LOHI sequences that must be special-cased at isel time, and avoids the problem with that code that provented memory operands from being folded. This fixes PR1874, addressesing the most common case. The uncommon cases of optimizing multiply-high operations will require work in DAGCombiner. llvm-svn: 47277
-
- Feb 17, 2008
-
-
Chris Lattner authored
llvm-svn: 47237
-
- Feb 16, 2008
-
-
Andrew Lenharth authored
I cannot find a libgcc function for this builtin. Therefor expanding it to a noop (which is how it use to be treated). If someone who knows the x86 backend better than me could tell me how to get a lock prefix on an instruction, that would be nice to complete x86 support. llvm-svn: 47213
-
Andrew Lenharth authored
llvm-svn: 47204
-
- Feb 15, 2008
-
-
Chris Lattner authored
really really really need refactoring :( llvm-svn: 47171
-
Chris Lattner authored
the global comment. This prevents printing things like: ... # foo bar when the name is "foo\nbar". llvm-svn: 47170
-
Dale Johannesen authored
llvm-svn: 47168
-
Dale Johannesen authored
that doesn't support it. Per Chris. llvm-svn: 47162
-
Dale Johannesen authored
llvm-svn: 47149
-
Dale Johannesen authored
it follows the order of the enum, not alphabetical. The motivation is to make -mattr=+ssse3,+sse41 select SSE41 as it ought to. Added "ignored" enum values of 0 to PPC and SPU to avoid compiler warnings. llvm-svn: 47143
-
- Feb 14, 2008
-
-
Nate Begeman authored
which allows us to kill a target-specific node. llvm-svn: 47127
-
Duncan Sands authored
the return value is zero-extended if it isn't sign-extended. It may also be any-extended. Also, if a floating point value was returned in a larger floating point type, pass 1 as the second operand to FP_ROUND, which tells it that all the precision is in the original type. I think this is right but I could be wrong. Finally, when doing libcalls, set isZExt on a parameter if it is "unsigned". Currently isSExt is set when signed, and nothing is set otherwise. This should be right for all calls to standard library routines. llvm-svn: 47122
-
Nate Begeman authored
1) ConstantFP is now expand by default 2) ConstantFP is not turned into TargetConstantFP during Legalize if it is legal. This allows ConstantFP to be handled like Constant, allowing for targets that can encode FP immediates as MachineOperands. As a bonus, fix up Itanium FP constants, which now correctly match, and match more constants! Hooray. llvm-svn: 47121
-
Nate Begeman authored
llvm-svn: 47115
-
Chris Lattner authored
llvm-svn: 47109
-
Chris Lattner authored
llvm-svn: 47108
-
Chris Lattner authored
llvm-svn: 47107
-
Chris Lattner authored
llvm-svn: 47106
-
Dan Gohman authored
size. Initialize these APInts to properly-sized zero values. llvm-svn: 47099
-
- Feb 13, 2008
-
-
Dan Gohman authored
to pass the mask APInt by value, not by reference. llvm-svn: 47096
-
Nicolas Geoffray authored
llvm-svn: 47079
-
Chris Lattner authored
llvm-svn: 47067
-
Chris Lattner authored
DAGCombine is now quite good at zapifying them. llvm-svn: 47053
-
Nate Begeman authored
llvm-svn: 47051
-
Nate Begeman authored
llvm-svn: 47045
-
Evan Cheng authored
llvm-svn: 47043
-
Dan Gohman authored
Add an overload that supports the uint64_t interface for use by clients that haven't been updated yet. llvm-svn: 47039
-
Dale Johannesen authored
Spotted by Nick Kledzik. llvm-svn: 47037
-
- Feb 12, 2008
-
-
Nate Begeman authored
llvm-svn: 47036
-
Nate Begeman authored
Move formats into the formats file llvm-svn: 47035
-
Evan Cheng authored
llvm-svn: 47020
-
Evan Cheng authored
llvm-svn: 47019
-
Evan Cheng authored
llvm-svn: 47002
-
Evan Cheng authored
llvm-svn: 47001
-