- May 29, 2011
-
-
John McCall authored
This is important for the correct lowering of unwind instructions (which doesn't matter at all) and llvm.eh.resume calls (which does). llvm-svn: 132291
-
Nick Lewycky authored
llvm-svn: 132290
-
Greg Clayton authored
its definition, that the first enumeration doesn't always get used as the default. llvm-svn: 132289
-
Nick Lewycky authored
variable. Noticed by inspection. Simulate memset in EvaluateFunction where the target of the memset and the value we're setting are both the null value. Fixes PR10047! llvm-svn: 132288
-
-
Howard Hinnant authored
llvm-svn: 132286
-
Nadav Rotem authored
llvm-svn: 132285
-
Chandler Carruth authored
I tried to use an assert to prove that I could remove each of the arguments I did, but ended up writing my assert with inverted logic. Doh! Reported by Xi Wang on cfe-dev. I have manually verified the source locations and ranges for these using -ast-dump. I tried writing a test case that would catch these, but these expressions aren't exposed in the c-index-test's token annotation utility. llvm-svn: 132284
-
Charles Davis authored
handler. At this moment, only GCC-style exceptions are supported. Other kinds of exceptions, including "traditional" SEH and Microsoft Visual C++ exceptions, need more work--and an compiler exception model that isn't specific to GCC-style exceptions! In particular, I imagine that it would be possible to mix "traditional" SEH with GCC-style EH or Microsoft C++ EH. Currently LLVM has no way (beyond some target-specific defaults and whole-module compiler switches) of knowing which scheme to use when. llvm-svn: 132283
-
Greg Clayton authored
llvm-svn: 132281
-
Greg Clayton authored
(or anything running in a terminal) wants. Not what a UI (Xcode) would want where it creates a debugger per debug window. The current code had an infinite loop after a debug session ended. llvm-svn: 132280
-
Rafael Espindola authored
llvm-svn: 132279
-
Rafael Espindola authored
llvm-svn: 132278
-
Eli Friedman authored
llvm-svn: 132277
-
Rafael Espindola authored
llvm-svn: 132276
-
John McCall authored
fixes self-host. llvm-svn: 132275
-
Rafael Espindola authored
and should probably be encoded as DW_OP_reg 32 DW_OP_piece 4 DW_OP_reg 33 llvm-svn: 132274
-
Greg Clayton authored
llvm-svn: 132271
-
Greg Clayton authored
llvm-svn: 132270
-
- May 28, 2011
-
-
John McCall authored
It's quite likely that this will explode, but I need to know how. :) llvm-svn: 132269
-
Cameron Zwarich authored
-verify-machineinstrs failures on several tests. llvm-svn: 132268
-
Howard Hinnant authored
llvm-svn: 132267
-
Howard Hinnant authored
llvm-svn: 132266
-
Howard Hinnant authored
llvm-svn: 132265
-
Howard Hinnant authored
llvm-svn: 132264
-
Nadav Rotem authored
Refactor the type legalizer. Switch TargetLowering to a new enum - LegalizeTypeAction. This patch does not change the behavior of the type legalizer. The codegen produces the same code. This infrastructural change is needed in order to enable complex decisions for vector types (needed by the vector-select patch). llvm-svn: 132263
-
Chris Lattner authored
llvm-svn: 132262
-
Howard Hinnant authored
noexcept for <memory>. I've added a few extension noexcept to: allocator_traits<A>::deallocate, allocaate<T>::deallocate, return_temporary_buffer, and default_delete<T>::operator()(T*) const. My rationale was: If a std-dicated noexcept function needs to call another std-defined function, that called function must be noexcept. We're all a little new to noexcept, so things like this are to be expected. Also included fix for broken __is_swappable trait pointed out by Marc Glisse, thanks Marc|. And fixed a test case for is_nothrow_destructible. Destructors are now noexcept by default| llvm-svn: 132261
-
Benjamin Kramer authored
llvm-svn: 132260
-
David Chisnall authored
llvm-svn: 132259
-
David Chisnall authored
llvm-svn: 132258
-
Renato Golin authored
llvm-svn: 132257
-
Benjamin Kramer authored
llvm-svn: 132256
-
Benjamin Kramer authored
llvm-svn: 132255
-
Benjamin Kramer authored
Fixes PR10040. llvm-svn: 132254
-
John McCall authored
transformed by the inliner into a branch to the enclosing landing pad (when inlined through an invoke). If not so optimized, it is lowered DWARF EH preparation into a call to _Unwind_Resume (or _Unwind_SjLj_Resume as appropriate). Its chief advantage is that it takes both the exception value and the selector value as arguments, meaning that there is zero effort in recovering these; however, the frontend is required to pass these down, which is not actually particularly difficult. Also document the behavior of landing pads a bit better, and make it clearer that it's okay that personality functions don't always land at landing pads. This is just a fact of life. Don't write optimizations that rely on pushing things over an unwind edge. llvm-svn: 132253
-
John McCall authored
switch. With this newfound organization, teach tblgen how not to give all intrinsics the 'nounwind' attribute. Introduce a new intrinsic, llvm.eh.resume, which does not have this attribute. Documentation and uses to follow. llvm-svn: 132252
-
Charles Davis authored
llvm-svn: 132250
-
Bruno Cardoso Lopes authored
llvm-svn: 132249
-
Bruno Cardoso Lopes authored
to load/store i64 values. Since there's no current support to explicitly declare such restrictions, implement it by using specific hardcoded register pairs during isel. llvm-svn: 132248
-