- Dec 17, 2013
-
-
Quentin Colombet authored
The patch adds a new LLVMContext::diagnose that can be used to communicate to the front-end, if any, that something of interest happened. The diagnostics are supported by a new abstraction, the DiagnosticInfo class. The base class contains the following information: - The kind of the report: What this is about. - The severity of the report: How bad this is. This patch also adds 2 classes: - DiagnosticInfoInlineAsm: For inline asm reporting. Basically, this diagnostic will be used to switch to the new diagnostic API for LLVMContext::emitError. - DiagnosticStackSize: For stack size reporting. Comes as a replacement of the hard coded warning in PEI. This patch also features dynamic diagnostic identifiers. In other words plugins can use this infrastructure for their own diagnostics (for more details, see getNextAvailablePluginDiagnosticKind). This patch introduces a new DiagnosticHandlerTy and a new DiagnosticContext in the LLVMContext that should be set by the front-end to be able to map these diagnostics in its own system. http://llvm-reviews.chandlerc.com/D2376 <rdar://problem/15515174> llvm-svn: 197438
-
Rafael Espindola authored
llvm-svn: 197437
-
- Dec 16, 2013
-
-
Fariborz Jahanian authored
of objc_bridge_related attribute; eliminate unnecessary diagnostics which is issued elsewhere, fixit now produces a valid AST tree per convention. This results in some simplification in handling of this attribute as well. // rdar://15499111 llvm-svn: 197436
-
Rafael Espindola authored
I missed these in previous commits. llvm-svn: 197435
-
Yi Jiang authored
Enable double to float shrinking optimizations for binary functions like 'fmin/fmax'. Fix radar:15283121 llvm-svn: 197434
-
Rafael Espindola authored
The f80:128:128 was followed by a f80:32:32 and so never used. Looks like this was there since r91746. llvm-svn: 197433
-
Yuchen Wu authored
Outputs branch information for unconditional branches in addition to conditional branches. -b option must be enabled. Also updated tests. llvm-svn: 197432
-
Juergen Ributzka authored
This allows the WebKit_JS calling convention to perform partial writes on a 4 byte granularity to stack slots. llvm-svn: 197431
-
Rafael Espindola authored
llvm-svn: 197430
-
Rafael Espindola authored
llvm-svn: 197429
-
Richard Trieu authored
llvm-svn: 197428
-
Rafael Espindola authored
llvm-svn: 197427
-
Rafael Espindola authored
llvm-svn: 197426
-
Matt Arsenault authored
SI_KIL -> SI_KILL llvm-svn: 197425
-
Rafael Espindola authored
Revert "Allow MachineCSE to coalesce trivial subregister copies the same way that it coalesces normal copies." This reverts commit r197414. It broke the ppc64 bootstrap. I will post a testcase in a sec. llvm-svn: 197424
-
Dmitri Gribenko authored
LLVM_INCLUDE_TESTS is set in the top-level LLVM CMakeLists, which is not being executed when Clang is built in a separate directory. llvm-svn: 197423
-
Rafael Espindola authored
llvm-svn: 197422
-
Rafael Espindola authored
llvm-svn: 197421
-
Yuchen Wu authored
llvm-svn: 197418
-
Juergen Ributzka authored
Pass the first integer argument (callee) in register to optimize inline caches. llvm-svn: 197416
-
Rafael Espindola authored
* tbaa-struct.cpp always has a 64 bit pointer. * f32:32:32, f64:64:64 and f128:128:128 are defaults, don't assume they are printed. llvm-svn: 197415
-
Andrew Trick authored
that it coalesces normal copies. Without this, MachineCSE is powerless to handle redundant operations with truncated source operands. This required fixing the 2-addr pass to handle tied subregisters. It isn't clear what combinations of subregisters can legally be tied, but the simple case of truncated source operands is now safely handled: %vreg11<def> = COPY %vreg1:sub_32bit; GR32:%vreg11 GR64:%vreg1 %vreg12<def> = COPY %vreg2:sub_32bit; GR32:%vreg12 GR64:%vreg2 %vreg13<def,tied1> = ADD32rr %vreg11<tied0>, %vreg12<kill>, %EFLAGS<imp-def> llvm-svn: 197414
-
Andrew Trick authored
llvm-svn: 197413
-
Rafael Espindola authored
Produce them in the same order on every target. The order is that of getStringRepresentation: e|E-i*-f*-v*-a*-s*-n*-S*. llvm-svn: 197411
-
Kaelyn Uhrain authored
This reverts commit 2b43f500cfea10a8c59c986dcfc24fd08eecc77d. This was accidentally committed because I failed to notice my client wasn't clean prior to submitting a fix for a crasher. llvm-svn: 197410
-
Kaelyn Uhrain authored
CXXScopeSpec when necessary while performing typo correction. This fixes the crash reported in PR18213 (the problem existed since r185487, and r193020 made it easier to hit). llvm-svn: 197409
-
Kaelyn Uhrain authored
llvm-svn: 197408
-
Rafael Espindola authored
While there, simplify "p3:32:32:32" to "p3:32:32". llvm-svn: 197407
-
Joerg Sonnenberger authored
llvm-svn: 197406
-
Joerg Sonnenberger authored
llvm-svn: 197405
-
Joerg Sonnenberger authored
so use the same exception size as GNUEABI does. llvm-svn: 197404
-
Chad Rosier authored
llvm-svn: 197403
-
Chad Rosier authored
llvm-svn: 197402
-
Reid Kleckner authored
This was manifesting as an LLVM_ASSUME_ALIGNED() failure in an ELF debug info test when building LLVM with clang in the Microsoft C++ ABI. llvm-svn: 197401
-
Rafael Espindola authored
llvm-svn: 197400
-
Nico Weber authored
llvm-svn: 197399
-
Rafael Espindola authored
llvm-svn: 197398
-
Rafael Espindola authored
llvm-svn: 197397
-
NAKAMURA Takumi authored
llvm-svn: 197396
-
NAKAMURA Takumi authored
llvm-svn: 197395
-