- Jan 31, 2013
-
-
Richard Smith authored
catches uses of an extremely minor and widely-available C++ extension (which every C++ compiler I could find supports, but EDG and Clang reject in strict mode). The diagnosed code pattern looks like this: struct X { union { struct { int a; int b; } S; }; }; llvm-svn: 174103
-
Daniel Dunbar authored
llvm-svn: 174102
-
Daniel Dunbar authored
llvm-svn: 174101
-
Dan Gohman authored
llvm-svn: 174100
-
Tom Stellard authored
Patch by: Vincent Lejeune Reviewed-by:
Tom Stellard <thomas.stellard@amd.com> llvm-svn: 174099
-
Tom Stellard authored
Patch by: Vincent Lejeune Reviewed-by:
Tom Stellard <thomas.stellard@amd.com> llvm-svn: 174098
-
Tom Stellard authored
Patch by: Vincent Lejeune Reviewed-by:
Tom Stellard <thomas.stellard@amd.com> llvm-svn: 174097
-
Chad Rosier authored
llvm-svn: 174094
-
Manman Ren authored
This is a re-worked version of r174048. Given source IR: call void @llvm.dbg.declare(metadata !{i32* %argc.addr}, metadata !14), !dbg !15 we used to generate call void @llvm.dbg.declare(metadata !27, metadata !28), !dbg !29 !27 = metadata !{null} With this patch, we will correctly generate call void @llvm.dbg.declare(metadata !{i32* %argc.addr}, metadata !27), !dbg !28 Looking up %argc.addr in ValueMap will return null, since %argc.addr is already correctly set up, we can use identity mapping. rdar://problem/13089880 llvm-svn: 174093
-
Bill Wendling authored
Attributes that are strings are typically target-dependent attributes. They are of this form in the IR: "attr" "attr" = "val" llvm-svn: 174090
-
Daniel Dunbar authored
- Also, change the exit code to match 'sh'. llvm-svn: 174089
-
Chad Rosier authored
llvm-svn: 174088
-
Daniel Dunbar authored
- Testing finds bugs, who knew. llvm-svn: 174087
-
Tim Northover authored
llvm-svn: 174086
-
Lang Hames authored
past the natural stack alignment. llvm-svn: 174085
-
Manman Ren authored
We used to create children DIEs for a scope, then check whether ScopeDIE is null. If ScopeDIE is null, the children DIEs will be dangling. Other DIEs can link to those dangling DIEs, which are not emitted at all, causing dwarf error. The current testing case is 4k lines, from MultiSource/BenchMark/McCat/09-vor. rdar://problem/13071959 llvm-svn: 174084
-
Chad Rosier authored
Each target implementation was needlessly recomputing the index. Part of rdar://13076458 llvm-svn: 174083
-
Jim Grosbach authored
llvm-svn: 174080
-
Jim Grosbach authored
llvm-svn: 174079
-
Jim Grosbach authored
llvm-svn: 174078
-
Edwin Vane authored
gcc produces false positives for empty braces so turning the warning off. Instead, turning the warning on for clang so proper warnings aren't missed. Reviewers: dblaikie, chandlerc llvm-svn: 174073
-
Daniel Dunbar authored
llvm-svn: 174072
-
Daniel Dunbar authored
llvm-svn: 174071
-
Daniel Dunbar authored
- Also, kill the pointless LitFormats module. llvm-svn: 174070
-
Jakob Stoklund Olesen authored
llvm-svn: 174068
-
Derek Schuff authored
llvm-svn: 174067
-
Tim Northover authored
llvm-svn: 174056
-
Tim Northover authored
This patch adds support for AArch64 (ARM's 64-bit architecture) to LLVM in the "experimental" category. Currently, it won't be built unless requested explicitly. This initial commit should have support for: + Assembly of all scalar (i.e. non-NEON, non-Crypto) instructions (except the late addition CRC instructions). + CodeGen features required for C++03 and C99. + Compilation for the "small" memory model: code+static data < 4GB. + Absolute and position-independent code. + GNU-style (i.e. "__thread") TLS. + Debugging information. The principal omission, currently, is performance tuning. This patch excludes the NEON support also reviewed due to an outbreak of batshit insanity in our legal department. That will be committed soon bringing the changes to precisely what has been approved. Further reviews would be gratefully received. llvm-svn: 174054
-
Pekka Jaaskelainen authored
breakage with builds without X86-support. llvm-svn: 174052
-
Evgeniy Stepanov authored
This change adds MemorySanitizer annotations to BumpPtrAllocator to improve report quality. llvm-svn: 174051
-
Alexey Samsonov authored
llvm-svn: 174048
-
Bill Wendling authored
That function doesn't make sense anymore because there's only one attribute per Attribute object now. llvm-svn: 174044
-
Michael Gottesman authored
Fixed a mistake in my previous commit where I changed the wording slightly and forgot to undo the change after changing my mind and deciding to only commit the style changes. llvm-svn: 174041
-
Michael Gottesman authored
section Global Variable so that the style matches the other keywords in said section. llvm-svn: 174040
-
NAKAMURA Takumi authored
It broke many hosts to crash. llvm-svn: 174035
-
Dan Gohman authored
as well. llvm-svn: 174030
-
Dan Gohman authored
llvm-svn: 174028
-
Dan Gohman authored
it isn't really an AliasAnalysis concept, and ValueTracking has similar things that it could plausibly share code with some day. llvm-svn: 174027
-
Bill Wendling authored
The Attribute::hasAttributes() is kind of meaningless since an Attribute can have only one attribute. And we would rather people use the 'operator==' instead of Attribute::hasAttribute(). llvm-svn: 174026
-
Dan Gohman authored
reference to a pointer, so that it can handle the case where DataLayout is not available and behave conservatively. llvm-svn: 174024
-