- Apr 11, 2011
-
-
Eli Friedman authored
llvm-svn: 129260
-
Bill Wendling authored
--- Reverse-merging r129235 into '.': D test/Feature/bb_attrs.ll U include/llvm/BasicBlock.h U include/llvm/Bitcode/LLVMBitCodes.h U lib/VMCore/AsmWriter.cpp U lib/VMCore/BasicBlock.cpp U lib/AsmParser/LLParser.cpp U lib/AsmParser/LLLexer.cpp U lib/AsmParser/LLToken.h U lib/Bitcode/Reader/BitcodeReader.cpp U lib/Bitcode/Writer/BitcodeWriter.cpp llvm-svn: 129259
-
Anders Carlsson authored
Remove the CodeGenCXX/dyncast.cpp test; it isn't really super useful to match on huge chunks of LLVM output. llvm-svn: 129258
-
- Apr 10, 2011
-
-
Anders Carlsson authored
represents a dynamic cast where we know that the result is always null. For example: struct A { virtual ~A(); }; struct B final : A { }; struct C { }; bool f(B* b) { return dynamic_cast<C*>(b); } llvm-svn: 129256
-
Howard Hinnant authored
llvm-svn: 129255
-
John McCall authored
and move a vector-splat check to follow l-value conversion. llvm-svn: 129254
-
Anders Carlsson authored
Strip off parens and no-op casts when deciding if an expr can be devirtualized. Fixes the second half of PR9660. llvm-svn: 129253
-
Anders Carlsson authored
llvm-svn: 129252
-
Howard Hinnant authored
llvm-svn: 129251
-
Anders Carlsson authored
llvm-svn: 129250
-
Nicolas Geoffray authored
llvm-svn: 129248
-
Oscar Fuentes authored
Patch by arrowdodger! llvm-svn: 129247
-
Oscar Fuentes authored
llvm-svn: 129246
-
Garrison Venn authored
llvm-svn: 129245
-
Chandler Carruth authored
rewriting the literal when the value is integral. It is not uncommon to see code written as: const int kBigNumber = 42e5; Without any real awareness that this is no longer an ICE. The note helps automate and ease the process of fixing code that violates the warning. llvm-svn: 129243
-
Francois Pichet authored
llvm-svn: 129242
-
Eli Friedman authored
While I'm here, FileCheck-ize the ext-vector test, so we actually check what it is generating. llvm-svn: 129241
-
Francois Pichet authored
of template class. The new value is ignored. This fixes 1 error when parsing MSVC 2010 header files with clang. llvm-svn: 129240
-
Oscar Fuentes authored
when building with Visual Studio. `clang.dll' and `clang.exe' would have the same `clang.ilk' and `clang.pdb'. On a serial build those files would be overwritten as clang.exe/clang.dll are created. On a parallel build there is a risk of both files being written at the same time. On that case VS fails. llvm-svn: 129239
-
Oscar Fuentes authored
Suggested by Maël Hörz. llvm-svn: 129237
-
Bill Wendling authored
* Add a "landing pad" attribute to the BasicBlock. * Modify the bitcode reader and writer to handle said attribute. Later: The verifier will ensure that the landing pad attribute is used in the appropriate manner. I.e., not applied to the entry block, and applied only to basic blocks that are branched to via a `dispatch' instruction. (This is a work-in-progress.) llvm-svn: 129235
-
John McCall authored
for them. The only major missing feature is references. llvm-svn: 129234
-
- Apr 09, 2011
-
-
Chris Lattner authored
isEqual of its members, not operator==. llvm-svn: 129233
-
Chris Lattner authored
LLVMCC_EMITIR_FLAG is already either -emit-llvm or -fplugin-arg-dragonegg-emit-ir, so don't add an extra leading -. Clang doesn't accept --emit-llvm. llvm-svn: 129232
-
Eli Friedman authored
check is triggered appropriately. Reported on cfe-dev. llvm-svn: 129231
-
Chris Lattner authored
llvm-svn: 129229
-
rdar://8735979Chris Lattner authored
InstAlias doesn't allow matching immediate operands, so we have to write C++ code to do this. llvm-svn: 129223
-
Chris Lattner authored
for pointing this out llvm-svn: 129217
-
Lenny Maiorani authored
Validates inputs are not NULL, checks for overlapping strings, concatenates the strings checking for buffer overflow, sets the length of the destination string to the sum of the s1 length and the s2 length, binds the return value to the s1 value. llvm-svn: 129215
-
Benjamin Kramer authored
llvm-svn: 129214
-
Dylan Noblesmith authored
Make KEYALL a combination of all other flags instead of its own separate flag. Also rewrite the enum definitions in hex instead of decimal. llvm-svn: 129213
-
Dylan Noblesmith authored
Put the logic for deciding the default name for gcc/g++ in the only place that actually cares about it. This also pushes an ifdef out of the generic driver code to a little further down, when the target is actually known. Hopefully it can be changed into just a runtime check in the future. llvm-svn: 129212
-
Benjamin Kramer authored
And don't append the name over and over again in the loop. llvm-svn: 129210
-
Benjamin Kramer authored
llvm-svn: 129209
-
NAKAMURA Takumi authored
FIXME: The logo handling in ReleaseNotes.html llvm-svn: 129208
-
Eli Friedman authored
is an array of structures doesn't imply it's a ConstantArray of ConstantStruct. llvm-svn: 129207
-
Eli Friedman authored
pageexec@freemail.hu, tweaks by me. llvm-svn: 129206
-
Chandler Carruth authored
warnings, and make its text appropriate for constant bool expressions other than 'false'. This should finish off PR9612. llvm-svn: 129205
-
Chandler Carruth authored
type rather than just the literal 'false'. This begins fixing PR9612, but the message is now wrong. WIP, the cleanup of the messaging is next. llvm-svn: 129204
-
Chris Lattner authored
llvm-svn: 129203
-