- Apr 01, 2015
-
-
Simon Atanasyan authored
No functional changes. llvm-svn: 233727
-
Benjamin Kramer authored
Lets us fuse some branches into bit tests downstream. NFC. llvm-svn: 233725
-
Sanjay Patel authored
This is a follow-on to r233704 and another partial fix for PR22685: https://llvm.org/bugs/show_bug.cgi?id=22685 llvm-svn: 233724
-
Rui Ueyama authored
llvm-svn: 233723
-
Lang Hames authored
These regression tests are supposed to test small code model support, but have been XFAIL'd because we don't have an in-tree memory manager that can guarantee a small-code-model compatible memory layout. Unfortunately, they can occasionally pass if they get lucky with memory allocation, causing unexpected passes on the bots. That's not very helpful. I'm going to remove these until we have the infrastructure (small-code-model compatible memory manager) to run them properly. llvm-svn: 233722
-
Rui Ueyama authored
llvm-svn: 233721
-
Alexey Samsonov authored
See https://code.google.com/p/address-sanitizer/issues/detail?id=385. llvm-svn: 233720
-
Rui Ueyama authored
FINDV4BITMASK macro is defined as a macro so that the macro body is inlined. We should use inlined functions instead of macros. llvm-svn: 233719
-
Rui Ueyama authored
Multiple inheritance is casually used here. Rewriting to not using multiple inheritance reduces the complexity of the code and also makes it shorter. llvm-svn: 233718
-
Vince Harron authored
Works with x86_64 inferior, fails w/i386 inferior - updated test to reflect llvm-svn: 233717
-
Vince Harron authored
Removed expectedFailureLinux from failures that I was unable to reproduce, updated and improved some other comments near XFAIL tests Differential Revision: http://reviews.llvm.org/D8676 llvm-svn: 233716
-
Eli Bendersky authored
Support for this target was added in LLVM r233575 and r233583 llvm-svn: 233715
-
Greg Clayton authored
<rdar://problem/20357466> llvm-svn: 233714
-
Tom Stellard authored
This ensures correct handling of NaNi. This has been tested with piglit, OpenCV, and the ocl conformance tests. llvm-svn: 233713
-
Tom Stellard authored
This ensures correct handling of NaN. This has been tested with piglit, OpenCV, and the ocl conformance tests. llvm-svn: 233712
-
Eric Fiselier authored
Summary: In certain cases vector can use memcpy to construct a range of elements at the back of the vector. We currently don't do this resulting in terrible code gen in non-optimized mode and a very large slowdown compared to libstdc++. This patch adds a `__construct_forward_range(Allocator, Iter, Iter, _Ptr&)` and `__construct_forward_range(Allocator, Tp*, Tp*, Tp*&)` functions to `allocator_traits` which act similarly to the existing `__construct_forward(...)` functions. This patch also changes vectors `__construct_at_end(Iter, Iter)` to be `__construct_at_end(Iter, Iter, SizeType)` where SizeType is the size of the range. `__construct_at_end(Iter, Iter, SizeType)` now calls `allocator_traits<Tp>::__construct_forward_range(...)`. This patch is based off the design of `__swap_out_circular_buffer(...)` which uses `allocator_traits<Tp>::__construct_forward(...)`. On my machine this code performs 4x better than the current implementation when tested against `std::vector<int>`. Reviewers: howard.hinnant, titus, kcc, mclow.lists Reviewed By: mclow.lists Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D8109 llvm-svn: 233711
-
Rui Ueyama authored
llvm-svn: 233710
-
Tim Northover authored
llvm-svn: 233709
-
NAKAMURA Takumi authored
It didn't work with "install". llvm-svn: 233708
-
Timur Iskhodzhanov authored
llvm-svn: 233707
-
Tom Stellard authored
As long as they don't have an address space explicitly defined. This allows builtins with pointer arguments to be used with OpenCL. llvm-svn: 233706
-
Ed Maste authored
On FreeBSD LLDB's triple ends up as e.g. "x86_64-unknown-freebsd10.1" but getPlatform() consumers expect just the name with no version number. llvm-svn: 233705
-
Sanjay Patel authored
I suggested this change in D7898 (http://llvm.org/viewvc/llvm-project?view=revision&revision=231354) It improves the v4i64 case although not optimally. This AVX codegen: vmovq {{.*#+}} xmm0 = mem[0],zero vxorpd %ymm1, %ymm1, %ymm1 vblendpd {{.*#+}} ymm0 = ymm0[0],ymm1[1,2,3] Becomes: vmovsd {{.*#+}} xmm0 = mem[0],zero Unfortunately, this doesn't completely solve PR22685. There are still at least 2 problems under here: We're not handling v32i8 / v16i16. We're not getting the FP / int domains right for instruction selection. But since this patch alone appears to do no harm, reduces code duplication, and helps v4i64, I'm submitting this patch ahead of fixing the above. Differential Revision: http://reviews.llvm.org/D8341 llvm-svn: 233704
-
Hafiz Abid Qadeer authored
A temp object was being created to call StripOffFileName. This function is not dependent on class members so I am making it static. No regression on testsuite on Linux. llvm-svn: 233703
-
Alexander Kornienko authored
Use "constructors that are callable with a single argument" instead of "single-argument constructors" when referring to constructors using default arguments or parameter packs. llvm-svn: 233702
-
Sanjay Patel authored
llvm-svn: 233701
-
- Mar 31, 2015
-
-
Ulrich Weigand authored
Should fix build failures with cmake builds llvm-svn: 233700
-
Scott Douglass authored
llvm-svn: 233699
-
Daniel Jasper authored
llvm-svn: 233698
-
Samuel Benzaquen authored
Summary: Force braces on the else branch if they are being added to the if branch. This ensures consistency in the transformed code. Reviewers: alexfh Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D8708 llvm-svn: 233697
-
Krzysztof Parzyszek authored
This time with all files included. llvm-svn: 233696
-
Krzysztof Parzyszek authored
llvm-svn: 233695
-
Krzysztof Parzyszek authored
llvm-svn: 233694
-
Vladimir Sukharev authored
Reviewers: t.p.northover, jmolloy Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D8502 llvm-svn: 233693
-
Simon Atanasyan authored
No functional changes. llvm-svn: 233692
-
Simon Atanasyan authored
No functional changes. llvm-svn: 233691
-
Ulrich Weigand authored
So far, we do not yet support any instruction specific to zEC12. Most of the facilities added with zEC12 are indeed not very useful to compiler code generation, but there is one exception: the miscellaneous-extensions facility provides the RISBGN instruction, which is a variant of RISBG that does not set the condition code. Add support for this facility, MC support for RISBGN, and CodeGen support for prefering RISBGN over RISBG on zEC12, unless we can actually make use of the condition code set by RISBG. llvm-svn: 233690
-
Ulrich Weigand authored
We already exploit a number of instructions specific to z196, but not yet POPCNT. Add support for the population-count facility, MC support for the POPCNT instruction, CodeGen support for using POPCNT, and implement the getPopcntSupport TargetTransformInfo hook. llvm-svn: 233689
-
Ulrich Weigand authored
This hooks up the TargetTransformInfo machinery for SystemZ, and provides an implementation of getIntImmCost. In addition, the patch adds the isLegalICmpImmediate and isLegalAddImmediate TargetLowering overrides, and updates a couple of test cases where we now generate slightly better code. llvm-svn: 233688
-
Timur Iskhodzhanov authored
Reviewed at http://reviews.llvm.org/D8666 llvm-svn: 233687
-