- Dec 05, 2013
-
-
Michael Ilseman authored
We were previously not adding fast-math flags through CreateBinOp() when it happened to be making a floating point binary operator. This patch updates it to do so similarly to directly calling CreateF*(). llvm-svn: 196438
-
Eric Christopher authored
llvm-svn: 196437
-
Cameron McInally authored
Patch by Aleksey Bader. llvm-svn: 196435
-
Eric Christopher authored
llvm-svn: 196434
-
David Blaikie authored
Code review feedback on r196394 by Paul Robinson. llvm-svn: 196433
-
Kevin Enderby authored
Where it would use a scattered relocation entry but falls back to a normal relocation entry because the FixupOffset is more than 24-bits. The bug is in the X86MachObjectWriter::RecordScatteredRelocation() where it changes reference parameter FixedValue but then returns false to indicate it did not create a scattered relocation entry. The fix is simply to save the original value of the parameter FixedValue at the start of the method and restore it if we are returning false in that case. rdar://15526046 llvm-svn: 196432
-
Eric Christopher authored
llvm-svn: 196431
-
Eric Christopher authored
llvm-svn: 196430
-
Eric Christopher authored
llvm-svn: 196427
-
- Dec 04, 2013
-
-
Eric Christopher authored
llvm-svn: 196426
-
David Peixotto authored
ARM symbol variants are written with parens instead of @ like this: .word __GLOBAL_I_a(target1) This commit adds support for parsing these symbol variants in expressions. We introduce a new flag to MCAsmInfo that indicates the parser should use parens to parse the symbol variant. The expression parser is modified to look for symbol variants using parens instead of @ when the corresponding MCAsmInfo flag is true. The MCAsmInfo parens flag is enabled only for ARM on ELF. By adding this flag to MCAsmInfo, we are able to get rid of redundant ARM-specific symbol variants and use the generic variants instead (e.g. VK_GOT instead of VK_ARM_GOT). We use the new UseParensForSymbolVariant attribute in MCAsmInfo to correctly print the symbol variants for arm. To achive this we need to keep a handle to the MCAsmInfo in the MCSymbolRefExpr class that we can check when printing the symbol variant. Updated Tests: Changed case of symbol variant to match the generic kind. test/CodeGen/ARM/tls-models.ll test/CodeGen/ARM/tls1.ll test/CodeGen/ARM/tls2.ll test/CodeGen/Thumb2/tls1.ll test/CodeGen/Thumb2/tls2.ll PR18080 llvm-svn: 196424
-
Eric Christopher authored
llvm-svn: 196422
-
Eric Christopher authored
llvm-svn: 196421
-
Eric Christopher authored
rather than magically making the names match. llvm-svn: 196419
-
Eric Christopher authored
llvm-svn: 196418
-
David Blaikie authored
While we still have a few (~4) non-trivial comments with string concatenation, etc that should remain conditionalized, these trivial literal comments can be simplified. llvm-svn: 196416
-
David Blaikie authored
llvm-svn: 196414
-
Eric Christopher authored
checks. No functional change. llvm-svn: 196412
-
Yuchen Wu authored
llvm-svn: 196400
-
Eric Christopher authored
a few things more const as well because we're now using const references to refer to iterators. llvm-svn: 196398
-
David Blaikie authored
llvm-svn: 196396
-
David Blaikie authored
llvm-svn: 196395
-
David Blaikie authored
Since we always emit only one abbrevation section (shared by all the compilation units in this module) there's no need for a separate label at the start of each one (and we weren't using the CU ID anyway, so there really was only one label). Use the section label instead and drop the wholely unused debug_abbrev_end label. llvm-svn: 196394
-
Cameron McInally authored
llvm-svn: 196393
-
David Blaikie authored
Instead, reuse the same MCSymbol - this should make the code easier to follow by avoiding hard to trace dependencies between different bits of code. llvm-svn: 196392
-
Michael Liao authored
- No test case as there's no calling convention preserve YMM31/ZMM31 only llvm-svn: 196391
-
Chad Rosier authored
VFP4. Patch by Daniel Stewart! llvm-svn: 196390
-
Cameron McInally authored
Suppress '(x < y) ? a : 0 -> (x < y) & a' transform on X86 architectures with dedicated mask registers. Patch by Aleksey Bader. llvm-svn: 196386
-
NAKAMURA Takumi authored
[CMake] add_lit_target: Let lit.site.cfg free from "--param build_mode" on single configuration builds, like autoconf build. llvm-svn: 196377
-
Bill Wendling authored
llvm-svn: 196369
-
Daniel Jasper authored
And add the proper fix. llvm-svn: 196367
-
Daniel Jasper authored
This currently breaks clang/test/CodeGen/code-coverage.c. The root cause is that the newly introduced access to Funcs[j] is out of bounds. llvm-svn: 196365
-
Kevin Qin authored
llvm-svn: 196362
-
Kevin Qin authored
llvm-svn: 196360
-
Yuchen Wu authored
The function checksums are hashed from the concatenation of the function name and line number. llvm-svn: 196358
-
Yuchen Wu authored
Added additional checks for the Identifier, CfgChecksum and Name for each GCOVFunction. Also added function names in error messages. llvm-svn: 196356
-
Yuchen Wu authored
llvm-svn: 196354
-
Yuchen Wu authored
This splits the file-scope read() function into readGCNO() and readGCDA(). Also broke file format read into functions that first read the file type, then check the version. llvm-svn: 196353
-
Rafael Espindola authored
Thanks for j`ey and Sean Silva for noticing it. llvm-svn: 196344
-
Sean Silva authored
It appears to be referring to nonexistent entities. This must be a carry-over from an older version of the document. Patch by Mikael Lyngvig! llvm-svn: 196342
-