- Jun 30, 2010
-
-
Duncan Sands authored
replaced by a bigger array in SmallPtrSet (by overridding it), instead just use a pointer to the start of the storage, and have SmallPtrSet pass in the value to use. This has the disadvantage that SmallPtrSet becomes bigger by one pointer. It has the advantage that it no longer uses tricky C++ rules, and is clearly correct while I'm not sure the previous version was. This was inspired by g++-4.6 pointing out that SmallPtrSetImpl was writing off the end of SmallArray, which it was. Since SmallArray is replaced with a bigger array in SmallPtrSet, the write was still to valid memory. But it was writing off the end of the declared array type - sounds kind of dubious to me, like it sounded dubious to g++-4.6. Maybe g++-4.6 is wrong and this construct is perfectly valid and correctly compiled by all compilers, but I think it is better to avoid the whole can of worms by avoiding this construct. llvm-svn: 107285
-
Gabor Greif authored
llvm-svn: 107282
-
Gabor Greif authored
llvm-svn: 107280
-
Gabor Greif authored
llvm-svn: 107279
-
Gabor Greif authored
llvm-svn: 107278
-
Gabor Greif authored
llvm-svn: 107277
-
Gabor Greif authored
llvm-svn: 107276
-
Gabor Greif authored
llvm-svn: 107275
-
Gabor Greif authored
llvm-svn: 107273
-
Gabor Greif authored
llvm-svn: 107272
-
Gabor Greif authored
llvm-svn: 107271
-
Gabor Greif authored
llvm-svn: 107270
-
Gabor Greif authored
llvm-svn: 107269
-
Dan Gohman authored
llvm-svn: 107257
-
Dan Gohman authored
the old one instead of replacing it, to be more precise. llvm-svn: 107256
-
Dan Gohman authored
on ScalarEvolution successfully folding and preserving range information for both A-B and B-A. Now, if it gets either one, it's sufficient. llvm-svn: 107249
-
Dan Gohman authored
llvm-svn: 107248
-
Bruno Cardoso Lopes authored
llvm-svn: 107246
-
Bruno Cardoso Lopes authored
llvm-svn: 107245
-
John Mosby authored
llvm-svn: 107244
-
Bruno Cardoso Lopes authored
llvm-svn: 107243
-
Bruno Cardoso Lopes authored
llvm-svn: 107241
-
Bruno Cardoso Lopes authored
llvm-svn: 107240
-
Bruno Cardoso Lopes authored
- Add VEX encoding bits to x86 MRM0r-MRM7r llvm-svn: 107238
-
Devang Patel authored
llvm-svn: 107237
-
Jakob Stoklund Olesen authored
llvm-svn: 107234
-
Jakob Stoklund Olesen authored
llvm-svn: 107233
-
Devang Patel authored
Add variables into a scope before constructing scope DIE otherwise variables won't be included DIE tree. llvm-svn: 107228
-
Jakob Stoklund Olesen authored
InlineSpiller inserts loads and spills immediately instead of deferring to VirtRegMap. This is possible now because SlotIndexes allows instructions to be inserted and renumbered. This is work in progress, and is mostly a copy of TrivialSpiller so far. It works very well for functions that don't require spilling. llvm-svn: 107227
-
Bruno Cardoso Lopes authored
llvm-svn: 107225
-
Dan Gohman authored
where each loop's induction variable's start value is the exit value of a preceding loop. llvm-svn: 107224
-
Bill Wendling authored
llvm-svn: 107215
-
Devang Patel authored
llvm-svn: 107214
-
Eric Christopher authored
llvm-svn: 107213
-
Bruno Cardoso Lopes authored
llvm-svn: 107211
-
- Jun 29, 2010
-
-
Devang Patel authored
llvm-svn: 107208
-
Bruno Cardoso Lopes authored
llvm-svn: 107206
-
Bill Wendling authored
metadata types which should be marked as "weak", but which the linker will remove upon final linkage. For example, the "objc_msgSend_fixup_alloc" symbol is defined like this: .globl l_objc_msgSend_fixup_alloc .weak_definition l_objc_msgSend_fixup_alloc .section __DATA, __objc_msgrefs, coalesced .align 3 l_objc_msgSend_fixup_alloc: .quad _objc_msgSend_fixup .quad L_OBJC_METH_VAR_NAME_1 This is different from the "linker_private" linkage type, because it can't have the metadata defined with ".weak_definition". llvm-svn: 107205
-
Bruno Cardoso Lopes authored
Add AVX ld/st XCSR register. Add VEX encoding bits for MRMXm x86 form llvm-svn: 107204
-
Devang Patel authored
Inspired by Artur Pietrek. llvm-svn: 107202
-