- Dec 05, 2015
-
-
Sanjay Patel authored
llvm-svn: 254740
-
Sanjay Patel authored
llvm-svn: 254739
-
Alexander Potapenko authored
llvm-svn: 254738
-
Manman Ren authored
This commit adds a new target-independent calling convention for C++ TLS access functions. It aims to minimize overhead in the caller by perserving as many registers as possible. The target-specific implementation for X86-64 is defined as following: Arguments are passed as for the default C calling convention The same applies for the return value(s) The callee preserves all GPRs - except RAX and RDI The access function makes C-style TLS function calls in the entry and exit block, C-style TLS functions save a lot more registers than normal calls. The added calling convention ties into the existing implementation of the C-style TLS functions, so we can't simply use existing calling conventions such as preserve_mostcc. rdar://9001553 llvm-svn: 254737
-
Alexander Potapenko authored
llvm-svn: 254736
-
Alexander Potapenko authored
llvm-svn: 254735
-
Alexey Samsonov authored
llvm-svn: 254734
-
Alexey Samsonov authored
Summary: Create a separate page describing UBSan tool, move the description of fine-grained checks there, provide extra information about supported platforms, symbolization etc. This text is compiled from four parts: * Existing documentation copied from User's Manual * Layout used in documentation for another sanitizers (ASan, MSan etc.) * Text written from scratch * Small parts taken from Michael Morrison's attempt at creating UBSan page: http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20141215/249503.html Reviewers: kcc, rsmith, silvas Subscribers: tberghammer, danalbert, srhines, kcc Differential Revision: http://reviews.llvm.org/D15217 llvm-svn: 254733
-
Alexander Potapenko authored
llvm-svn: 254732
-
David Blaikie authored
llvm-svn: 254731
-
Dan Gohman authored
llvm-svn: 254730
-
Dan Gohman authored
llvm-svn: 254729
-
Dan Gohman authored
llvm-svn: 254728
-
Dan Gohman authored
llvm-svn: 254727
-
Dan Gohman authored
llvm-svn: 254726
-
Rafael Espindola authored
llvm-svn: 254725
-
Krzysztof Parzyszek authored
llvm-svn: 254724
-
Filipe Cabecinhas authored
llvm-svn: 254723
-
Alexander Potapenko authored
mac_ignore_invalid_free was helpful when ASan runtime used to intercept CFAllocator and sometimes corrupted its memory. This behavior had been long gone, and the flag was unused. This patch also deletes ReportMacCfReallocUnknown(), which was used by the CFAllocator realloc() wrapper. llvm-svn: 254722
-
Rafael Espindola authored
This is a continuation of r253367. These functions return is owned by the caller, so they return std::unique_ptr now. The call can fail, so the return is wrapped in ErrorOr. They have a context where to report diagnostics, so they don't need to take a string out parameter. With this there are no call to getGlobalContext in lib/LTO. llvm-svn: 254721
-
Tim Northover authored
There's a more comprehensive ACLE and a real v8 ARM ARM now. llvm-svn: 254720
-
- Dec 04, 2015
-
-
Colin LeMahieu authored
llvm-svn: 254719
-
Gabor Horvath authored
Differential Revision: http://reviews.llvm.org/D15007 llvm-svn: 254718
-
Kuba Brecka authored
The build and test actually work now, so let's just enable them. Differential Revision: http://reviews.llvm.org/D15184 llvm-svn: 254716
-
Tamas Berghammer authored
* Add support for representing signed integers * Add new constructors taking any signed or unsigned integer types Differential revision: http://reviews.llvm.org/D15187 llvm-svn: 254715
-
Jonas Paulsson authored
Since BuildMI() automatically adds the implicit operands for a new instruction, adding the old instructions CC operand resulted in that there were two CC imp-def operands, where only one was marked as dead. This caused buildSchedGraph() to miss dependencies on the CC reg. Review by Ulrich Weigand llvm-svn: 254714
-
George Rimar authored
"Ulrich Drepper, ELF Handling For Thread-Local Storage" (5.5 x86-x64 linker optimizations, http://www.akkadia.org/drepper/tls.pdf) shows how GD can be optimized to IE. This patch implements the optimization. Differential revision: http://reviews.llvm.org/D15000 llvm-svn: 254713
-
Alexey Bataev authored
LEA code size optimization pass (Part 1): Remove redundant address recalculations, by Andrey Turetsky Add new x86 pass which replaces address calculations in load or store instructions with def register of existing LEA (must be in the same basic block), if the LEA calculates address that differs only by a displacement. Works only with -Os or -Oz. Differential Revision: http://reviews.llvm.org/D13294 llvm-svn: 254712
-
Mohit K. Bhakkad authored
Patch by Nitesh Jain Reviewers: clayborg, ovyalov. Subscribers: jaydeep, bhushan, mohit.bhakkad, sagar. Differential Revision: http://reviews.llvm.org/D15103 llvm-svn: 254711
-
Jaydeep Patil authored
SUMMARY: Marked TestCrashDuringStep.py as XFAIL for MIPS. The test generates IO error due to breakpoint at invalid address. Reviewers: clayborg, labath Subscribers: nitesh.jain, mohit.bhakkad, sagar, bhushan and lldb-commits Differential Revision: http://reviews.llvm.org/D15182 llvm-svn: 254710 -
Oliver Stannard authored
This check has nothing to do with the statistical profiling extension, so shouldn't be in this test. llvm-svn: 254709
-
Yury Gribov authored
Patch by Max Ostapenko. Differential Revision: http://reviews.llvm.org/D15108 llvm-svn: 254708
-
Yury Gribov authored
For PowerPC64 we cannot just pass SP extracted from @llvm.stackrestore to _asan_allocas_unpoison due to specific ABI requirements (http://refspecs.linuxfoundation.org/ELF/ppc64/PPC-elf64abi.html#DYNAM-STACK). This patch adds the value returned by @llvm.get.dynamic.area.offset to extracted from @llvm.stackrestore stack pointer, so dynamic allocas unpoisoning stuff would work correctly on PowerPC64. Patch by Max Ostapenko. Differential Revision: http://reviews.llvm.org/D15108 llvm-svn: 254707
-
Tobias Grosser authored
This update brings in improvements to isl's 'isolate' option that reduce the number of code versions generated. This results in both code-size and compile time reduction for outer loop vectorization. Thanks to Roman Garev and Sven Verdoolaege for working on this improvement. llvm-svn: 254706
-
Xinliang David Li authored
and -no-integrated-as for source with static function. The compiler generates assembly names containing \" in the .s dump causing gnu assembler to complain. That issue will be investigated separately. llvm-svn: 254705
-
Craig Topper authored
llvm-svn: 254704
-
Craig Topper authored
llvm-svn: 254703
-
Devin Coughlin authored
clang converts C++ lambdas to blocks with an implicit user-defined conversion operator method on the lambda record. This method returns a block that captures a copy of the lambda. To inline a lambda-converted block, the analyzer now calls the lambda records's call operator method on the lambda captured by the block. llvm-svn: 254702
-
Xinliang David Li authored
cmp&swap is not well supported -- the new test case triggers some assembler error. This is a partial fix to the general problem (lack of atomics operation support for certain targets). llvm-svn: 254701
-
Rafael Espindola authored
This reverts commit r254694. It broke bootstrap. llvm-svn: 254700
-