- Nov 10, 2012
-
-
Benjamin Kramer authored
ICC refuses to compile a class in an anonymous namespace if some functions aren't defined. Fixes PR13477. llvm-svn: 167676
-
Meador Inge authored
This patch migrates the strcspn optimizations from the simplify-libcalls pass into the instcombine library call simplifier. llvm-svn: 167675
-
Benjamin Kramer authored
llvm-svn: 167674
-
Craig Topper authored
llvm-svn: 167673
-
Duncan Sands authored
llvm-svn: 167672
-
Craig Topper authored
llvm-svn: 167671
-
Craig Topper authored
llvm-svn: 167670
-
Craig Topper authored
llvm-svn: 167669
-
Douglas Gregor authored
CXXRecordDecl::forallBases, which does *not* do what I need. Fixes the failure introduced in r167651. llvm-svn: 167668
-
Jason Molenda authored
GCD queue names of threads to ProcessGDBRemote::GetDispatchQueueNameForThread() May need tweaking once this version is rolled out but visual inspection looks fine. <rdar://problem/12333100> llvm-svn: 167667
-
Jason Molenda authored
things like our favorite "cl_kernels" and so module_directory here can be NULL. llvm-svn: 167666
-
Michael Liao authored
- New options '-mrtm'/'-mno-rtm' are added to enable/disable RTM feature - Builtin macro '__RTM__' is defined if RTM feature is enabled - RTM intrinsic header is added and introduces 3 new intrinsics, namely '_xbegin', '_xend', and '_xabort'. - 3 new builtins are added to keep compatible with gcc, namely '__builtin_ia32_xbegin', '__builtin_ia32_xend', and '__builtin_ia32_xabort'. - Test cases for pre-defined macro and new intrinsic codegen are added. llvm-svn: 167665
-
Richard Smith authored
llvm-svn: 167664
-
Evan Cheng authored
llvm-svn: 167663
-
Ted Kremenek authored
llvm-svn: 167662
-
Meador Inge authored
Some holes in testing where discovered while working on the LLVM library call simplifiers. llvm-svn: 167661
-
Meador Inge authored
Several of the simplifiers migrated from the simplify-libcalls pass to the instcombine pass were not correctly checking the target library information to gate the simplifications. This patch ensures that the check is made. llvm-svn: 167660
-
Meador Inge authored
In the process of migrating optimizations from the simplify-libcalls pass to the instcombine pass I noticed that a few functions are missing from the target library information. These functions need to be available for querying in the instcombine library call simplifiers. More functions will probably be added in the future as more simplifiers are migrated to instcombine. llvm-svn: 167659
-
Evan Cheng authored
xfail a bad test. This is a MC test but it's dependent on a codegen optimization which is now disabled. llvm-svn: 167658
-
Evan Cheng authored
mov lr, pc b.w _foo The "mov" instruction doesn't set bit zero to one, it's putting incorrect value in lr. It messes up backtraces. rdar://12663632 llvm-svn: 167657
-
Jim Ingham authored
llvm-svn: 167656
-
Ted Kremenek authored
The rationale is that there is no good workflow to silence the warning for specific cases, other than using pragmas. This is because the attribute to decorate an explicit fall through is only available in C++11. By that argument, this should probably also be disabled unless one is using C++11, but apparently there is an explicit test case for this warning when using C++98. This will require further discussion on cfe-commits. Fixes: <rdar://problem/12584746> llvm-svn: 167655
-
Jordan Rose authored
Previously, RegionStore was being VERY conservative in saying that because p[i].x and p[i].y have a concrete base region of 'p', they might overlap. Now, we check the chain of fields back up to the base object and check if they match. This only kicks in when dealing with symbolic offset regions because RegionStore's "base+offset" representation of concrete offset regions loses all information about fields. In cases where all offsets are concrete (s.x and s.y), RegionStore will already do the right thing, but mixing concrete and symbolic offsets can cause bindings to be invalidated that are known to not overlap (e.g. p[0].x and p[i].y). This additional refinement is tracked by <rdar://problem/12676180>. <rdar://problem/12530149> llvm-svn: 167654
-
David Blaikie authored
Fix to regression caused by r167650, caught by Richard Smith in code review. llvm-svn: 167653
-
Craig Topper authored
llvm-svn: 167652
-
Douglas Gregor authored
would have diagnosed this at instantiation time anyway, if only we didn't hang on all of these test cases. Fixes <rdar://problem/12629723> llvm-svn: 167651
-
David Blaikie authored
C++11 3.3.3/2 "A parameter name shall not be redeclared in the outermost block of the function definition nor in the outermost block of any handler associated with a function-try-block." It's not totally clear to me whether the "FIXME" case is covered by this, but Richard Smith thinks it probably should be. It's just a bit more involved to fix that case. llvm-svn: 167650
-
Eli Friedman authored
Make __LDBL_MAX__ etc. have the correct type on targets where long double/double/etc. have the same format. PR14285. Based on patch by Jeroen Dobbelaere. llvm-svn: 167649
-
Jordan Rose authored
This warning was failing to fire under ARC because of the implicit lifetime casts added around the object literal expression. <rdar://problem/11300873>, again. llvm-svn: 167648
-
Justin Holewinski authored
Fixes bug 13354. llvm-svn: 167647
-
Justin Holewinski authored
Affects SM 2.0+. Fixes bug 13324. llvm-svn: 167646
-
Richard Smith authored
Document -W in clang --help. Also make the help text more consistent (don't end descriptions in periods, use | to separate possible values). llvm-svn: 167645
-
Richard Smith authored
Don't include the help for -mips* in clang --help. These are just aliases for other options, and not common enough to be worth including here. llvm-svn: 167644
-
Richard Smith authored
only -W flag which clang --help lists. llvm-svn: 167643
-
Richard Smith authored
variable. Previously we didn't notice the type was dependent if the only dependence came from an array bound. Patch by Brian Brooks! llvm-svn: 167642
-
Argyrios Kyrtzidis authored
llvm-svn: 167641
-
- Nov 09, 2012
-
-
Argyrios Kyrtzidis authored
When installed, instead of getting this: (lldb) p Tok.Loc (clang::SourceLocation) $0 = { (unsigned int) ID = 123582 } you'll get: (lldb) p Tok.Loc (clang::SourceLocation) $4 = "/usr/include/i386/_types.h:37:1" (offset: 123582, file) This depends on r167629. llvm-svn: 167640
-
Richard Smith authored
llvm-svn: 167639
-
Richard Smith authored
the driver (the options defined in CC1Options.td) and exclude their help from "clang --help". llvm-svn: 167638
-
Greg Clayton authored
llvm-svn: 167637
-