- Sep 20, 2011
-
-
Eli Friedman authored
Add list initialization for complex numbers in C. Essentially, this allows "_Complex float x = {1.0f, 2.0f};". See changes to docs/LanguageExtensions.html for a longer description. <rdar://problem/9397672>. llvm-svn: 140090
-
- Sep 19, 2011
-
-
Bill Wendling authored
This model uses the 'landingpad' instruction, which is pinned to the top of the landing pad. (A landing pad is defined as the destination of the unwind branch of an invoke instruction.) All of the information needed to generate the correct exception handling metadata during code generation is encoded into the landingpad instruction. The new 'resume' instruction takes the place of the llvm.eh.resume intrinsic call. It's lowered in much the same way as the intrinsic is. llvm-svn: 140049
-
- Sep 16, 2011
-
-
NAKAMURA Takumi authored
Without -ffreestanding, clang tries to seek /usr/include/stdlib.h in host filesystem, even on Windows hosts. llvm-svn: 139899
-
Eli Friedman authored
Tweak *mmintrin.h so that they don't make any bad assumptions about alignment (which probably has little effect in practice, but better to get it right). Make the load in _mm_loadh_pi and _mm_loadl_pi a single LLVM IR instruction to make optimizing easier for CodeGen. rdar://10054986 llvm-svn: 139874
-
- Sep 14, 2011
-
-
Eli Friedman authored
Make clang use Acquire loads and Release stores where necessary. llvm-svn: 139650
-
Eli Friedman authored
llvm-svn: 139648
-
- Sep 13, 2011
-
-
Eli Friedman authored
llvm-svn: 139643
-
- Sep 10, 2011
-
-
Julien Lerouge authored
llvm-svn: 139464
-
John McCall authored
llvm-svn: 139462
-
Eli Friedman authored
llvm-svn: 139460
-
Richard Trieu authored
a test failure in CodeGen/palignr.c, which has been marked XFAIL for the time being. A bug has been filed at PR10901 for this issue. llvm-svn: 139457
-
John McCall authored
llvm-svn: 139455
-
Julien Lerouge authored
annotate global, local variables, struct fields, or arbitrary statements (using the __builtin_annotation), rdar://8037476. llvm-svn: 139423
-
- Sep 09, 2011
-
-
Eric Christopher authored
along with the new insert point. Fixes PR10829 llvm-svn: 139416
-
John McCall authored
feature akin to the ARC runtime checks. Removes a terrible hack where IR gen needed to find the declarations of those symbols in the translation unit. llvm-svn: 139404
-
- Sep 08, 2011
-
-
Jakob Stoklund Olesen authored
These functions return a second value by writing to a pointer argument, so they cannot be marked 'readnone' which implies that they don't access memory. <rdar://problem/10070234> llvm-svn: 139319
-
- Sep 07, 2011
-
-
Eli Friedman authored
llvm-svn: 139224
-
Eli Friedman authored
Switch clang over to using fence/atomicrmw/cmpxchg instead of the intrinsics (which will go away). LLVM CodeGen does almost exactly the same thing with these and the old intrinsics, so I'm reasonably confident this will not break anything. There are still a few issues which need to be resolved with code generation for atomic load and store, so I'm not converting the places which need those for now. I'm not entirely sure what to do about __builtin_llvm_memory_barrier: the fence instruction doesn't expose all the possibilities which can be expressed by __builtin_llvm_memory_barrier. I would appreciate hearing from anyone who is using this intrinsic. llvm-svn: 139216
-
- Sep 02, 2011
-
-
Fariborz Jahanian authored
llvm-svn: 139043
-
Fariborz Jahanian authored
// rdar://10033896 llvm-svn: 139041
-
Fariborz Jahanian authored
llvm-svn: 139029
-
Fariborz Jahanian authored
// rdar://10033896 llvm-svn: 139020
-
- Aug 26, 2011
-
-
John McCall authored
emit call results into potentially aliased slots. This allows us to properly mark indirect return slots as noalias, at the cost of requiring an extra memcpy when assigning an aggregate call result into a l-value. It also brings us into compliance with the x86-64 ABI. llvm-svn: 138599
-
- Aug 24, 2011
-
-
Bruno Cardoso Lopes authored
llvm-svn: 138422
-
Eric Christopher authored
After talking with John making this the case for all of these is the right way to go. Fixes rdar://9804564 and PR10414 llvm-svn: 138418
-
- Aug 23, 2011
-
-
Fariborz Jahanian authored
is captured by a given statement expression. // rdar://10001085 llvm-svn: 138314
-
-
- Aug 20, 2011
-
-
Devang Patel authored
Remove one outdated test. llvm-svn: 138144
-
- Aug 16, 2011
-
-
Devang Patel authored
llvm-svn: 137752
-
Eric Christopher authored
test over from llvm/test/FrontendC++ and update others to account for the change. llvm-svn: 137669
-
- Aug 13, 2011
-
-
Eli Friedman authored
llvm-svn: 137535
-
- Aug 11, 2011
-
-
Craig Topper authored
llvm-svn: 137302
-
Craig Topper authored
llvm-svn: 137298
-
- Aug 06, 2011
-
-
Chad Rosier authored
This fixes cases where the anonymous bitfield is followed by a bitfield member. E.g., struct t4 { char foo; long : 0; char bar : 1; }; rdar://9859156 llvm-svn: 136991
-
- Aug 05, 2011
-
-
Matt Beaumont-Gay authored
llvm-svn: 136955
-
- Aug 04, 2011
-
-
Chad Rosier authored
llvm-svn: 136924
-
Chad Rosier authored
alignment. This fixes cases where the anonymous bitfield is followed by a non-bitfield member. E.g., struct t4 { int foo : 1; long : 0; char bar; }; Part of rdar://9859156 llvm-svn: 136858
-
John McCall authored
Patch by Craig Topper and Sundeep! llvm-svn: 136856
-
Chad Rosier authored
structures. Alignment can be enforced with the use of anonymous bitfields (e.g., int :0), but this is not currently supported. Add this test case to document the current state, which will hopefully be fixed shortly. llvm-svn: 136848
-
Chandler Carruth authored
designed to be executed, and its output inspected for correct values, but we aren't executing it. We're just compiling it, and dumping it to /dev/null. It also isn't freestanding. If there is a desire to have this test actually stick around, complain and I'll revert this and try to add the file checks necessary to make this actually test things. llvm-svn: 136846
-