- Jan 30, 2010
-
-
Daniel Dunbar authored
something totally broken and parsing them as immediates, but the .td file also had the wrong match class so things sortof worked. Except, that is, that we would parse movl $0, %eax as movl 0, %eax Feel free to guess how well that worked. llvm-svn: 94869
-
Daniel Dunbar authored
in the order they were declared. llvm-svn: 94868
-
-
Dale Johannesen authored
llvm-svn: 94866
-
-
Ted Kremenek authored
Add basic type checking of format string conversion specifiers and their arguments. Thanks to Cristian Draghici for his help with this patch! llvm-svn: 94864
-
Bob Wilson authored
llvm-svn: 94863
-
Bob Wilson authored
needed for this test, but otherwise, there's nothing ARM-specific about it and no need to specify the calling convention. llvm-svn: 94862
-
Daniel Dunbar authored
llvm-svn: 94861
-
Daniel Dunbar authored
line. Turns out edit_distance can be slow if the string we are scanning for happens to be quite large. llvm-svn: 94860
-
Daniel Dunbar authored
register, and use to cleanup a FIXME in X86AsmParser.cpp. llvm-svn: 94859
-
Jakob Stoklund Olesen authored
This bug was exposed by my inliner cost changes in r94615, and caused failures of lencod on most architectures when building with LTO. This patch fixes lencod and 464.h264ref on x86-64 (and likely others). llvm-svn: 94858
-
Daniel Dunbar authored
- This test case is auto generated, and has been verified to round-trip correctly through llvm-mc by checking the assembled .o file before and after piping through llvm-mc. It will be extended over time as the matcher grows support for more instructions. llvm-svn: 94857
-
Ted Kremenek authored
the field width and precision of a format specifier instead of just 'int'. This matches GCC, and fixes <rdar://problem/6079850>. llvm-svn: 94856
-
Johnny Chen authored
bit (Inst{22}) and the M bit (Inst{5}) should be left unspecified. For binary format instructions, Inst{6} and Inst{4} need to specified for proper decodings. llvm-svn: 94855
-
Dan Gohman authored
them from values that are not actually defined in the module. llvm-svn: 94854
-
Evan Cheng authored
llvm-svn: 94853
-
Ted Kremenek authored
llvm-svn: 94852
-
- Jan 29, 2010
-
-
Ted Kremenek authored
Per a suggestion from Cristian Draghici, add a method to FormatSpecifier that returns the expected type of the matching data argument. It isn't complete, but should handle several of the important cases. llvm-svn: 94851
-
Bob Wilson authored
create a testcase where this matters. The select+load transformation only occurs when isSafeToLoadUnconditionally is true, and in those situations, instcombine also changes the underlying objects to be aligned. This seems like a good idea regardless, and I've verified that it doesn't pessimize the subsequent realignment. llvm-svn: 94850
-
Devang Patel authored
llvm-svn: 94849
-
Dan Gohman authored
llvm-svn: 94848
-
Dan Gohman authored
Before: <stdin>:94:1: note: possible intended match here movsd 4096(%rsi), %xmm0 ^ After: <stdin>:94:2: note: possible intended match here movsd 4096(%rsi), %xmm0 ^ llvm-svn: 94847
-
Dan Gohman authored
Before: test/CodeGen/X86/lsr-reuse.ll:52:34: error: expected string not found in input ; CHECK: movsd -2048(%rsi), %xmm0 ^ After: test/CodeGen/X86/lsr-reuse.ll:52:10: error: expected string not found in input ; CHECK: movsd -2048(%rsi), %xmm0 ^ llvm-svn: 94846
-
Junjie Gu authored
Make sure the size is doubled (not 4x). llvm-svn: 94845
-
Sean Callanan authored
the library. llvm-svn: 94844
-
Dale Johannesen authored
llvm-svn: 94843
-
Victor Hernandez authored
We were not writing bitcode for function-local metadata whose operands have been erased (making it not have any more function-local operands) llvm-svn: 94842
-
Eric Christopher authored
llvm-svn: 94841
-
Jeffrey Yasskin authored
that loads its contents lazily from bitcode. I think these are the only remaining mis-named functions. llvm-svn: 94840
-
Daniel Dunbar authored
suite with clang++ enabled. The right fix here is PR6175, although we would still have to find a different work around for the gdb test suite. llvm-svn: 94838
-
Ted Kremenek authored
checking. It passes all existing tests, and the diagnostics have been refined to provide better range information (we now highlight individual format specifiers) and more precise wording in the diagnostics. llvm-svn: 94837
-
Bob Wilson authored
llvm-svn: 94835
-
Ted Kremenek authored
- Add ConversionSpecifier::consumesDataArgument() as a helper method to determine if a conversion specifier requires a matching argument. - Add support for glibc-specific '%m' conversion - Add an extra callback to HandleNull() for locations within the format specifier that have a null character llvm-svn: 94834
-
Dan Gohman authored
llvm-svn: 94833
-
Douglas Gregor authored
to bitfields. Add it here. llvm-svn: 94832
-
Douglas Gregor authored
previously, we were allowing this to bind to a temporary. Now, we don't; add test-cases and improve diagnostics. llvm-svn: 94831
-
Ted Kremenek authored
llvm-svn: 94830
-
Bob Wilson authored
indices are safe if the result is known to be within the bounds of the underlying object. llvm-svn: 94829
-
Douglas Gregor authored
requires a temporary. Previously, we were building an initialization sequence that bound to the bit-field as if it were a real lvalue. Note that we previously (and still) diagnose binding of non-const references to bit-fields, as we should. There's no real way to test that this code is correct, since reference binding does not *currently* have any representation in the AST. This fix should make it easier for that to happen, so I've verified this fix with... Added InitializationSequence::dump(), to print an initialization sequence for debugging purposes. llvm-svn: 94826
-