- Jun 18, 2013
-
-
Tim Northover authored
llvm-svn: 184236
-
Rafael Espindola authored
llvm-svn: 184235
-
Rafael Espindola authored
llvm-svn: 184233
-
Michael Gottesman authored
[ARMTargetLowering] ARMISD::{SUB,ADD}{C,E} second result is a boolean implying that upper bits are always 0. llvm-svn: 184231
-
Michael Gottesman authored
Said assert assumes that ADDC will always have a glue node as its second argument and is checked before we even know that we are actually performing the relevant MLAL optimization. This is incorrect since on ARM we *CAN* codegen ADDC with a use list based second argument. Thus to have both effects, I converted the assert to a conditional check which if it fails we do not perform the optimization. In terms of tests I can not produce an ADDC from the IR level until I get in my multiprecision optimization patch which is forthcoming. The tests for said patch would cause this assert to fail implying that said tests will provide the relevant tests. llvm-svn: 184230
-
Rafael Espindola authored
llvm-svn: 184229
-
Nadav Rotem authored
llvm-svn: 184228
-
Kevin Enderby authored
"When assembling to the ARM instruction set, the .N qualifier produces an assembler error and the .W qualifier has no effect." In the pre-matcher handler in the asm parser the ".w" (wide) qualifier when in ARM mode is now discarded. And an error message is now produced when the ".n" (narrow) qualifier is used in ARM mode. Test cases for these were added. rdar://14064574 llvm-svn: 184224
-
Quentin Colombet authored
value is zero. This allows optmizations to kick in more easily. Fix some test cases so that they remain meaningful (i.e., not completely dead coded) when optimizations apply. <rdar://problem/14096009> superfluous multiply by high part of zero-extended value. llvm-svn: 184222
-
Jack Carter authored
When producing objects that are abi compliant we are marking neither the object file nor the assembly file correctly and thus generate warnings. We need to set the EF_CPIC flag in the ELF header when generating direct object. Note that the warning is only generated when compiling without PIC. When compiling with clang the warning will be suppressed by supplying: -Wa,-mno-shared -Wa,-call_nonpic Also the following directive should also be added: .option pic0 when compiling without PIC, This eliminates the need for supplying: -mno-shared -call_nonpic on the assembler command line. Patch by Douglas Gilmore llvm-svn: 184220
-
Rafael Espindola authored
llvm-svn: 184219
-
Rafael Espindola authored
llvm-svn: 184217
-
David Blaikie authored
llvm-svn: 184213
-
Rafael Espindola authored
llvm-svn: 184210
-
Stefanus Du Toit authored
For decoding, keep the current behavior of always decoding these as their REP versions. In the future, this could be improved to recognize the cases where these behave as XACQUIRE and XRELEASE and decode them as such. llvm-svn: 184207
-
Rafael Espindola authored
llvm-svn: 184206
-
Rafael Espindola authored
llvm-svn: 184204
-
Rafael Espindola authored
llvm-svn: 184203
-
Rafael Espindola authored
llvm-svn: 184202
-
Nadav Rotem authored
llvm-svn: 184201
-
Nadav Rotem authored
llvm-svn: 184200
-
Rafael Espindola authored
llvm-svn: 184198
-
Rafael Espindola authored
llvm-svn: 184196
-
Rafael Espindola authored
llvm-svn: 184193
-
Alexey Samsonov authored
llvm-svn: 184191
-
Rafael Espindola authored
This allows the compiler to see the enum and warn about it. While in here, fix a switch to not use a default and fix style violations. llvm-svn: 184186
-
Amaury de la Vieuville authored
When using a positive offset, literal loads where encoded as if it was negative, because: - The sign bit was not assigned to an operand - The addrmode_imm12 operand was not encoding the sign bit correctly This patch also makes the assembler look at the .w/.n specifier for loads. llvm-svn: 184182
-
Amaury de la Vieuville authored
llvm-svn: 184181
-
Amaury de la Vieuville authored
This fixes two previous issues: - Negative offsets were not correctly disassembled - The decoded opcodes were not the right one llvm-svn: 184180
-
Amaury de la Vieuville authored
llvm-svn: 184179
-
Timur Iskhodzhanov authored
llvm-svn: 184178
-
Bill Wendling authored
Someone may want to do something crazy, like replace these objects if they change or something. No functionality change intended. llvm-svn: 184175
-
Nick Lewycky authored
llvm-svn: 184174
-
Bill Wendling authored
llvm-svn: 184173
-
Bill Wendling authored
llvm-svn: 184172
-
Chris Lattner authored
These APIs are still used, and the constant APIs are actually really important. Removing these makes -Wdocumentation more useful. llvm-svn: 184170
-
-
Sean Silva authored
llvm-svn: 184162
-
Sean Silva authored
A bug in libObject will cause it to assert() if a symbol table's string table and the section header string table are the same section, so we need to ensure that we emit two different string tables (among other things). The problematic code is the hardcoded usage of ".strtab" (`dot_strtab_sec`) for looking up symbol names in ELFObjectFile<ELFT>::getSymbolName. I discussed this with Michael, and he has some local improvements to the ELF code in libObject that, among other things, should fix our handling of this scenario. llvm-svn: 184161
-
Sean Silva authored
I was spotting garbage in the output. I'd like to just zero the entire ELFYAML::Section to be sure, but it contains non-POD types. (I'm also trying to avoid bloating the ELFYAML::Foo classes with a bunch of constructor code). No test, since this is by its very nature unpredictable. I'm pretty sure that one of the sanitizers would catch it immediately though. llvm-svn: 184160
-