- Jan 30, 2010
-
-
Anders Carlsson authored
llvm-svn: 94907
-
Benjamin Kramer authored
PCHReader doesn't implement classof so dyn_casting it will do really weird stuff. Use a static_cast instead. I don't know if this hack is the right fix. Doug, please take a look. llvm-svn: 94895
-
Daniel Dunbar authored
llvm-svn: 94894
-
Benjamin Kramer authored
This fixes a really nasty bug in Darwin::getDarwinArchName where we were going StringRef -> temporary std::string -> StringRef (and return the dead StringRef). The StringRefs from Triple live as long as the Triple itself, that should be long enough. Hopefully 2 of 4 MSVC buildbot failures are gone now. llvm-svn: 94892
-
Anton Korobeynikov authored
Even if they are suported by the core, they can be disabled (this is just a configuration bit inside some register). Allow unaligned memops on darwin and conservatively disallow them otherwise. llvm-svn: 94889
-
Benjamin Kramer authored
- URL can go into read only memory now. - Compilers will fold away all the strstr calls. llvm-svn: 94887
-
Anton Korobeynikov authored
llvm-svn: 94879
-
Benjamin Kramer authored
llvm-svn: 94878
-
Bob Wilson authored
unconditionally. Besides checking the offset, also check that the underlying object is aligned as much as the load itself. llvm-svn: 94875
-
Anders Carlsson authored
llvm-svn: 94874
-
Evan Cheng authored
llvm-svn: 94873
-
Evan Cheng authored
llvm-svn: 94872
-
Devang Patel authored
llvm-svn: 94870
-
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
-