- Jun 08, 2013
-
-
Jakob Stoklund Olesen authored
llvm-svn: 183587
-
Eric Christopher authored
llvm-svn: 183586
-
Douglas Gregor authored
llvm-svn: 183585
-
Shuxin Yang authored
The MemCpyOpt pass is capable of optimizing: callee(&S); copy N bytes from S to D. into: callee(&D); subject to some legality constraints. Assertion is triggered when the compiler tries to evalute "sizeof(typeof(D))", while D is an opaque-typed, 'sret' formal argument of function being compiled. i.e. the signature of the func being compiled is something like this: T caller(...,%opaque* noalias nocapture sret %D, ...) The fix is that when come across such situation, instead of calling some utility functions to get the size of D's type (which will crash), we simply assume D has at least N bytes as implified by the copy-instruction. rdar://14073661 llvm-svn: 183584
-
Eli Friedman authored
llvm-svn: 183583
-
Adrian Prantl authored
- factor the name construction part out from constructSetterName - rename constructSetterName to the more appropriate constructSetterSelector no functionality change intended. rdar://problem/14035789 llvm-svn: 183582
-
Hal Finkel authored
On PPC32, [su]div,rem on i64 types are transformed into runtime library function calls. As a result, they are not allowed in counter-based loops (the counter-loops verification pass caught this error; this change fixes PR16169). llvm-svn: 183581
-
Andrew Kaylor authored
llvm-svn: 183580
-
Quentin Colombet authored
llvm-svn: 183579
-
Andrew Kaylor authored
llvm-svn: 183578
-
Jim Ingham authored
EINTR. That means the user was trying to interrupt us, and we should just stop instead. <rdar://problem/13184758> llvm-svn: 183577
-
David Blaikie authored
We've got the type right, which has broken these tests - but now we need to get the location information correct that the type was papering over llvm-svn: 183576
-
David Majnemer authored
The approach r183084 took was wrong, back it out. llvm-svn: 183575
-
- Jun 07, 2013
-
-
Quentin Colombet authored
llvm-svn: 183574
-
Rafael Espindola authored
This fixes a recent regression (r183338). Stripped elf files (like installed crtn.o for example), are not required to have a symbol table. Handle that correctly. llvm-svn: 183573
-
Bill Wendling authored
the internals of TargetMachine could change. No functionality change intended. llvm-svn: 183572
-
Bill Wendling authored
the internals of TargetMachine could change. No functionality change intended. llvm-svn: 183571
-
Bill Wendling authored
llvm-svn: 183570
-
Ashok Thirumurthi authored
llvm-svn: 183569
-
Tom Stellard authored
We weren't computing structure size correctly and we were relying on the original alloca instruction to compute the offset, which isn't always reliable. Reviewed-by:
Vincent Lejeune <vljn@ovi.com> llvm-svn: 183568
-
Bill Wendling authored
the internals of TargetMachine could change. No functionality change intended. llvm-svn: 183567
-
Tom Stellard authored
This should simplify the subtarget definitions and make it easier to add new ones. Reviewed-by:
Vincent Lejeune <vljn@ovi.com> llvm-svn: 183566
-
Bill Wendling authored
the internals of TargetMachine could change. No functionality change intended. llvm-svn: 183565
-
Eli Friedman authored
llvm-svn: 183564
-
Eli Friedman authored
correctly in the presence of qualified types. (I had to change the unittest because it was trying to cast a QualifiedTypeLoc to TemplateSpecializationTypeLoc.) llvm-svn: 183563
-
Rui Ueyama authored
llvm-svn: 183562
-
Bill Wendling authored
the internals of TargetMachine could change. No functionality change intended. llvm-svn: 183561
-
Tom Stellard authored
Reviewed-by:
Vincent Lejeune <vljn@ovi.com> https://bugs.freedesktop.org/show_bug.cgi?id=64257 llvm-svn: 183560
-
Tom Stellard authored
This is the convention used by the other targets. Reviewed-by:
Vincent Lejeune <vljn@ovi.com> llvm-svn: 183559
-
Tom Stellard authored
Reviewed-by:
Vincent Lejeune <vljn@ovi.com> llvm-svn: 183558
-
Bill Wendling authored
This is causing the following error on Darwin: /Volumes/Sandbox/llvm-clean.src/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc:282:1: error: 'assertion_failed__282' declared as an array with a negative size CHECK_TYPE_SIZE(ifconf); ^~~~~~~~~~~~~~~~~~~~~~~ /Volumes/Sandbox/llvm-clean.src/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc:223:3: note: expanded from macro 'CHECK_TYPE_SIZE' COMPILER_CHECK(sizeof(__sanitizer_##TYPE) == sizeof(TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Volumes/Sandbox/llvm-clean.src/projects/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h:239:30: note: expanded from macro 'COMPILER_CHECK' #define COMPILER_CHECK(pred) IMPL_COMPILER_ASSERT(pred, __LINE__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Volumes/Sandbox/llvm-clean.src/projects/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h:245:57: note: expanded from macro 'IMPL_COMPILER_ASSERT' typedef char IMPL_PASTE(assertion_failed_##_, line)[2*(int)(pred)-1] ^~~~~~~~~~~~~~~ /Volumes/Sandbox/llvm-clean.src/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc:284:1: error: 'assertion_failed__284' declared as an array with a negative size CHECK_SIZE_AND_OFFSET(ifconf, ifc_ifcu); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Volumes/Sandbox/llvm-clean.src/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc:228:3: note: expanded from macro 'CHECK_SIZE_AND_OFFSET' COMPILER_CHECK(offsetof(__sanitizer_##CLASS, MEMBER) == \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Volumes/Sandbox/llvm-clean.src/projects/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h:239:30: note: expanded from macro 'COMPILER_CHECK' #define COMPILER_CHECK(pred) IMPL_COMPILER_ASSERT(pred, __LINE__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Volumes/Sandbox/llvm-clean.src/projects/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h:245:57: note: expanded from macro 'IMPL_COMPILER_ASSERT' typedef char IMPL_PASTE(assertion_failed_##_, line)[2*(int)(pred)-1] ^~~~~~~~~~~~~~~ llvm-svn: 183557
-
Fariborz Jahanian authored
property auto-synthesis before knowingit it is to be auto-synthesized. // rdar://14094682 llvm-svn: 183556
-
Eli Bendersky authored
llvm-svn: 183555
-
Rui Ueyama authored
Found that having a method to check the strucutre of the followon graph makes it easy to debug file readers. The method checks if there's no wrong edge in followOnNexts and followOnRoots. It is called only when debuggging is enabled for LayoutPass. Reviewers: shankarke CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D922 llvm-svn: 183553
-
Quentin Colombet authored
Option: -mllvm -warn-stack-size=<limit> Output (if limit is exceeded): warning: Stack size limit exceeded (<actual size>) in <functionName>. The longer term plan is to hook that to a clang warning. PR:4072 <rdar://problem/13987214> llvm-svn: 183552
-
JF Bastien authored
My recent ARM FastISel patch exposed this bug: http://llvm.org/bugs/show_bug.cgi?id=16178 The root cause is that it can't select integer sext/zext pre-ARMv6 and asserts out. The current integer sext/zext code doesn't handle other cases gracefully either, so this patch makes it handle all sext and zext from i1/i8/i16 to i8/i16/i32, with and without ARMv6, both in Thumb and ARM mode. This should fix the bug as well as make FastISel faster because it bails to SelectionDAG less often. See fastisel-ext.patch for this. fastisel-ext-tests.patch changes current tests to always use reg-imm AND for 8-bit zext instead of UXTB. This simplifies code since it is supported on ARMv4t and later, and at least on A15 both should perform exactly the same (both have exec 1 uop 1, type I). 2013-05-31-char-shift-crash.ll is a bitcode version of the above bug 16178 repro. fast-isel-ext.ll tests all sext/zext combinations that ARM FastISel should now handle. Note that my ARM FastISel enabling patch was reverted due to a separate failure when dealing with MCJIT, I'll fix this second failure and then turn FastISel on again for non-iOS ARM targets. I've tested "make check-all" on my x86 box, and "lnt test-suite" on A15 hardware. llvm-svn: 183551
-
Richard Smith authored
llvm-svn: 183550
-
Benjamin Kramer authored
Found be libstdc's debug mode. llvm-svn: 183549
-
Eli Bendersky authored
llvm-svn: 183548
-
Ashok Thirumurthi authored
Reworked the download information on lldb.llvm.org: - svn copy of download.html to source.html with information on source-code access - new download.html with links to download nightly builds and Debian releases - updated the sidebar to reflect these changes llvm-svn: 183547
-