- Jun 27, 2012
-
-
Dmitri Gribenko authored
llvm-svn: 159253
-
Daniel Jasper authored
the current version of clang understands __attribute__((unused)) on fields. llvm-svn: 159252
-
Richard Trieu authored
llvm-svn: 159251
-
Timur Iskhodzhanov authored
Add a few (currently failing) tests for the PR13207 (template mangling in the presence of back references). I've added an extra FileCheck pass for that with an extra "CURRENT" prefix. I've carefully chosed the CURRENT/CORRECT prefixes so they a) are self-descriptive b) have the same length so the mangling between the current and the correct version is obvious Feel free to ask me to change the prefixes if you know a better alternative. llvm-svn: 159250
-
Richard Trieu authored
llvm-svn: 159249
-
Timur Iskhodzhanov authored
llvm-svn: 159248
-
Dmitri Gribenko authored
llvm-svn: 159247
-
Dmitri Gribenko authored
llvm-svn: 159246
-
Jordan Rose authored
llvm-svn: 159245
-
Jordan Rose authored
llvm-svn: 159244
-
Akira Hatanaka authored
llvm-svn: 159243
-
Akira Hatanaka authored
llvm-svn: 159242
-
Chandler Carruth authored
suitable for building as a whole-project. llvm-svn: 159241
-
Akira Hatanaka authored
llvm-svn: 159240
-
Bill Wendling authored
llvm-svn: 159239
-
Jim Grosbach authored
Don't override a custom diagnostic w/ a generic InvalidOperand, all else being equal. llvm-svn: 159238
-
Bill Wendling authored
It's not necessary for each DI class to have its own copy of `print' and `dump'. Instead, just give DIDescriptor those methods and have it call the appropriate debugging printing routine based on the type of the debug information. llvm-svn: 159237
-
Evan Cheng authored
Add a missing check to avoid dereference null. No sensible test case possible. Sorry. rdar://11745134 llvm-svn: 159236
-
Chad Rosier authored
llvm-svn: 159235
-
Timur Iskhodzhanov authored
llvm-svn: 159234
-
Jim Ingham authored
llvm-svn: 159233
-
Benjamin Kramer authored
This is only implemented on linux at the moment. llvm-svn: 159232
-
Daniel Jasper authored
in subclasses. llvm-svn: 159231
-
Evan Cheng authored
// C - zext(bool) -> bool ? C - 1 : C if (ZExtInst *ZI = dyn_cast<ZExtInst>(Op1)) if (ZI->getSrcTy()->isIntegerTy(1)) return SelectInst::Create(ZI->getOperand(0), SubOne(C), C); This ends up forming sext i1 instructions that codegen to terrible code. e.g. int blah(_Bool x, _Bool y) { return (x - y) + 1; } => movzbl %dil, %eax movzbl %sil, %ecx shll $31, %ecx sarl $31, %ecx leal 1(%rax,%rcx), %eax ret Without the rule, llvm now generates: movzbl %sil, %ecx movzbl %dil, %eax incl %eax subl %ecx, %eax ret It also helps with ARM (and pretty much any target that doesn't have a sext i1 :-). The transformation was done as part of Eli's r75531. He has given the ok to remove it. rdar://11748024 llvm-svn: 159230
-
- Jun 26, 2012
-
-
Chad Rosier authored
llvm-svn: 159229
-
Benjamin Kramer authored
The cpuid registers are only available in privileged mode so we don't have an OS-independent way of implementing this. ARM doesn't provide a list of processor IDs so the list is somewhat incomplete. llvm-svn: 159228
-
Rafael Espindola authored
llvm-svn: 159227
-
Fariborz Jahanian authored
as a gcc supported extension with usual treatment with -pedantic (warn) and -pedantic-errors (error). // rdar://11550996 llvm-svn: 159226
-
Andrew Trick authored
llvm-svn: 159225
-
Richard Smith authored
llvm-svn: 159224
-
Dmitri Gribenko authored
llvm-svn: 159223
-
Manman Ren authored
Support the following intrinsics: _mm_mask_i32gather_pd, _mm256_mask_i32gather_pd, _mm_mask_i64gather_pd _mm256_mask_i64gather_pd, _mm_mask_i32gather_ps, _mm256_mask_i32gather_ps _mm_mask_i64gather_ps, _mm256_mask_i64gather_ps llvm-svn: 159222
-
Manman Ren authored
Support the following intrinsics: llvm.x86.avx2.gather.d.pd, llvm.x86.avx2.gather.q.pd llvm.x86.avx2.gather.d.pd.256, llvm.x86.avx2.gather.q.pd.256 llvm.x86.avx2.gather.d.ps, llvm.x86.avx2.gather.q.ps llvm.x86.avx2.gather.d.ps.256, llvm.x86.avx2.gather.q.ps.256 Modified Disassembler to handle VSIB addressing mode. llvm-svn: 159221
-
Rafael Espindola authored
the member expression is qualified, call the method specified in the code, not the most derived one we can find. llvm-svn: 159219
-
David Blaikie authored
llvm-svn: 159218
-
Tim Northover authored
When generating selection tables for Pat instances, TableGen relied on an output Instruction's Pattern field being set to infer whether a chain should be added. This patch adds additional logic to check various flag fields so that correct code can be generated even if Pattern is unset. llvm-svn: 159217
-
Richard Trieu authored
comparison between two templated types when they both appear in a diagnostic. Type elision will remove indentical template arguments, which can be disabled with -fno-elide-type. Cyan highlighting is applied to the differing types. For more formatting, -fdiagnostic-show-template-tree will output the template type as an indented text tree, with differences appearing inline. Template tree works with or without type elision. llvm-svn: 159216
-
Andrew Trick authored
llvm-svn: 159215
-
Dmitri Gribenko authored
llvm-svn: 159214
-
Fariborz Jahanian authored
// rdar://11741435 pr13184 llvm-svn: 159213
-