- Apr 23, 2012
-
-
Sylvestre Ledru authored
The problem is that the struct file_status on UNIX systems has two members called st_dev and st_ino; those are also members of the struct stat, and they are reserved identifiers which can also be provided as #define (and this is the case for st_dev on Hurd). The solution (attached) is to rename them, for example adding a "fs_" prefix (= file status) to them. Patch by Pino Toscano llvm-svn: 155354
-
Alexander Potapenko authored
Fix issue 67 by checking that the interface functions weren't redefined in the compiled source file. llvm-svn: 155346
-
Kostya Serebryany authored
llvm-svn: 155341
-
Craig Topper authored
Use MVT instead of EVT through all of LowerVECTOR_SHUFFLEtoBlend and not just the switch. Saves a little bit of binary size. llvm-svn: 155339
-
Craig Topper authored
Make getZeroVector and getOnesVector more alike as far as how they detect 128-bit versus 256-bit vectors. Be explicit about both sizes and use llvm_unreachable. Similar changes to getLegalSplat. llvm-svn: 155337
-
Craig Topper authored
llvm-svn: 155336
-
Craig Topper authored
Tidy up spacing in LowerVECTOR_SHUFFLEtoBlend. Remove code that checks if shuffle operand has a different type than the the shuffle result since it can never happen. llvm-svn: 155333
-
Craig Topper authored
llvm-svn: 155332
-
Craig Topper authored
llvm-svn: 155331
-
Craig Topper authored
llvm-svn: 155330
-
Chris Lattner authored
fixes an assert reading "1239123123123123" when the result is already 64-bit. llvm-svn: 155329
-
Bill Wendling authored
llvm-svn: 155328
-
Bill Wendling authored
intructions are processed. So there's no need to look at them if they're used as operands of other instructions. llvm-svn: 155327
-
- Apr 22, 2012
-
-
Craig Topper authored
Make Extract128BitVector and Insert128BitVector take an unsigned instead of an ConstantNode SDValue. getConstant was almost always called just before only to have the functions take it apart and build a new ConstantSDNode. llvm-svn: 155325
-
Craig Topper authored
llvm-svn: 155321
-
Craig Topper authored
Make calls to getVectorShuffle more consistent. Use shuffle VT for calls to getUNDEF instead of requerying. Use &Mask[0] instead of Mask.data(). llvm-svn: 155320
-
Craig Topper authored
llvm-svn: 155319
-
Craig Topper authored
Simplify code by converting multiple places that were manually concatenating 128-bit vectors to use either CONCAT_VECTORS or a helper function. CONCAT_VECTORS will itself be lowered to the same pattern as before. The helper function is needed for concats of BUILD_VECTORs since getNode(CONCAT_VECTORS) will just return a large BUILD_VECTOR and we may be trying to lower large BUILD_VECTORS when this occurs. llvm-svn: 155318
-
Benjamin Kramer authored
Found by valgrind. llvm-svn: 155313
-
Elena Demikhovsky authored
llvm-svn: 155309
-
Bill Wendling authored
llvm-svn: 155307
-
Bill Wendling authored
names. This saves collecting types we normally don't care about. llvm-svn: 155300
-
Chris Lattner authored
StringRef::getAsInteger llvm-svn: 155298
-
- Apr 21, 2012
-
-
Nadav Rotem authored
llvm-svn: 155296
-
Craig Topper authored
llvm-svn: 155294
-
Craig Topper authored
llvm-svn: 155291
-
NAKAMURA Takumi authored
Thanks to Andy Gibbs, to report the issue. llvm-svn: 155287
-
NAKAMURA Takumi authored
llvm-svn: 155286
-
Nuno Lopes authored
llvm-svn: 155283
-
NAKAMURA Takumi authored
llvm-svn: 155281
-
Benjamin Kramer authored
No functionality change. llvm-svn: 155280
-
Jim Grosbach authored
VMUL and VEXT. llvm-svn: 155258
-
Jakob Stoklund Olesen authored
The X86 target is editing the selection DAG while isel is selecting nodes following a topological ordering. When the DAG hacking triggers CSE, nodes can be deleted and bad things happen. llvm-svn: 155257
-
Jim Grosbach authored
llvm-svn: 155254
-
Bill Wendling authored
llvm-svn: 155253
-
Jakob Stoklund Olesen authored
Now that multiple DAGUpdateListeners can be active at the same time, ISelPosition can become a local variable in DoInstructionSelection. We simply register an ISelUpdater with CurDAG while ISelPosition exists. llvm-svn: 155249
-
Jakob Stoklund Olesen authored
Instead of passing listener pointers to RAUW, let SelectionDAG itself keep a linked list of interested listeners. This makes it possible to have multiple listeners active at once, like RAUWUpdateListener was already doing. It also makes it possible to register listeners up the call stack without controlling all RAUW calls below. DAGUpdateListener uses an RAII pattern to add itself to the SelectionDAG list of active listeners. llvm-svn: 155248
-
- Apr 20, 2012
-
-
Bill Wendling authored
process any more Values. llvm-svn: 155241
-
Jakob Stoklund Olesen authored
The <undef> flag on a def operand only applies to partial register redefinitions. Only print the flag when relevant, and print it as <def,read-undef> to make it clearer what it means. llvm-svn: 155239
-
Andrew Trick authored
llvm-svn: 155229
-