- Apr 06, 2015
-
-
Davide Italiano authored
This matches other linkers behaviour. Moreover, there's really no need to keep them around. Reported by: Rafael Avila de Espindola PR: 22890 llvm-svn: 234130
-
David Blaikie authored
(sorry, keep forgetting that) llvm-svn: 234129
-
David Blaikie authored
Looks like the VTable code in particular will need some work to pass around the pointee type explicitly. llvm-svn: 234128
-
David Blaikie authored
llvm-svn: 234127
-
David Blaikie authored
There's still lots of callers passing nullptr, of course - some because they'll never be migrated (InstCombines for bitcasts - well they don't make any sense when the pointer type is opaque anyway, for example) and others that will need more engineering to pass Types around. llvm-svn: 234126
-
Tobias Grosser authored
llvm-svn: 234125
-
Tobias Grosser authored
Reported-by:Tomofumi Yuki <tomofumi.yuki@gmail.com> llvm-svn: 234124
-
Benjamin Kramer authored
No functional change intended. llvm-svn: 234123
-
Tobias Grosser authored
This change ensures that we sign-extend integer types in case non-matching operands are encountered when generating a multi-dimensional access offset. This fixes http://llvm.org/PR23124 Reported-by:
Jeremy Huddleston Sequoia <jeremyhu@apple.com> llvm-svn: 234122
-
Benjamin Kramer authored
The GCC attribute is curiously named 'malloc', but I think it's better to use LLVM terminology for the wrapper macro. llvm-svn: 234121
-
- Apr 05, 2015
-
-
Benjamin Kramer authored
llvm-svn: 234120
-
Tobias Grosser authored
As soon as one operand of the product is invalid, the entire product is invalid. This happens for example if one of the operands is not loop-invariant. This fixes http://llvm.org/PR23125 Reported-by:
Jeremy Huddleston Sequoia <jeremyhu@apple.com> llvm-svn: 234119
-
Simon Pilgrim authored
llvm-svn: 234118
-
Tobias Grosser authored
llvm-svn: 234117
-
Simon Atanasyan authored
getMergeReginfoMask => getMergedReginfoMask llvm-svn: 234116
-
Simon Atanasyan authored
In case of MIPS N64 ABI linker should merge registers usage masks stored in the input .MIPS.options sections and save result into the output .MIPS.options section. llvm-svn: 234115
-
Simon Atanasyan authored
llvm-svn: 234114
-
Tobias Grosser authored
This fixes http://llvm.org/PR23127 Reported-by:
Jeremy Huddleston Sequoia <jeremyhu@apple.com> llvm-svn: 234113
-
Tobias Grosser authored
instead of defining a lit variable %vector-opt. llvm-svn: 234112
-
David Majnemer authored
Windows has a 16-bit wchar_t, most Unix platforms have a 32-bit wchar_t. Use a char32_t to keep the test's output stable. llvm-svn: 234111
-
David Majnemer authored
StmtPrinter assumed that the first template arg was the pack and attempted to iterate it. However, the GNU extension (which is really just N3599), has two template arguments. In this case, the second argument is the pack containing the string contents. Handle this by desugaring the call to the explicit operator. For example: "qux" _zombocom will be shown as operator "" _zombocom<char, 'q', 'u', 'x'>() in diagnostics and AST dumps. N.B. It is actually impossible to render the arguments back to the source form without storing more information in the AST. For example, we cannot tell if the user wrote u8"qux" or "qux". We also lose fidelity when it comes to non-char types for this exact reason (e.g. it is hard to render a list of wchar_t back to something that can be printed to the screen even if you don't have to consider surrogate pairs). This fixes PR23120. llvm-svn: 234110
-
David Blaikie authored
llvm-svn: 234109
-
David Blaikie authored
llvm-svn: 234108
-
Sanjay Patel authored
llvm-svn: 234107
-
Sanjay Patel authored
llvm-svn: 234106
-
Simon Atanasyan authored
llvm-svn: 234105
-
Rafael Espindola authored
This reverts commit r234101. I will debug what went wrong with ARM. llvm-svn: 234104
-
Simon Atanasyan authored
In case of MIPS O32 ABI linker should merge registers usage masks stored in the input .reginfo sections and save result into the output .reginfo section. The ABI states that the .reginfo section should be put into the separate segment. This requirement is not implemented in this patch. llvm-svn: 234103
-
Chaoren Lin authored
llvm-svn: 234102
-
Rafael Espindola authored
This reverts commit r233398, bringing back 233393 now that LLVM is fixed. Original message: Don't use unique section names by default if using the integrated as. This saves some IO and ccache space by not creating long section names. It should work with every ELF linker. llvm-svn: 234101
-
Rafael Espindola authored
It makes it hard to see which one is being called. llvm-svn: 234100
-
Rafael Espindola authored
This allows the compiler/assembly programmer to switch back to a section. This in turn fixes the bootstrap failure on powerpc (tested on gcc110) without changing the ppc codegen at all. I will try to cleanup the various getELFSection overloads in a followup patch. Just using a default argument now would lead to ambiguities. llvm-svn: 234099
-
- Apr 04, 2015
-
-
Simon Atanasyan authored
llvm-svn: 234098
-
David Blaikie authored
llvm-svn: 234097
-
David Blaikie authored
llvm-svn: 234096
-
Simon Atanasyan authored
llvm-svn: 234095
-
Alexander Kornienko authored
llvm-svn: 234094
-
Sanjay Patel authored
Use the driver flag -fno-signed-zeros instead. This was recommended but not implemented in D6873: http://reviews.llvm.org/D6873 which was checked in at r226915: http://reviews.llvm.org/rL226915 llvm-svn: 234093
-
Simon Pilgrim authored
Scalar integers are commuted to move constants to the RHS for re-association - this ensures vectors do the same. llvm-svn: 234092
-
Daniel Jasper authored
Before: let theObject = {someMethodName() { doTheThing(); doTheOtherThing(); }, someOtherMethodName() { doSomething(); doSomethingElse(); }}; After: let theObject = { someMethodName() { doTheThing(); doTheOtherThing(); }, someOtherMethodName() { doSomething(); doSomethingElse(); } }; llvm-svn: 234091
-