- Apr 26, 2017
-
-
Craig Topper authored
This is a pre-commit for a patch I'm working on to turn KnownZero/One into a struct. Once I do that the type here will be less obvious. llvm-svn: 301324
-
Craig Topper authored
This is a pre-commit for a patch that I'm working on to merge KnownZero/KnownOne into a KnownBits struct which would have had to touch this line. llvm-svn: 301323
-
Simon Pilgrim authored
llvm-svn: 301322
-
George Rokos authored
Differential Revision: https://reviews.llvm.org/D32321 llvm-svn: 301321
-
Simon Pilgrim authored
llvm-svn: 301320
-
Rui Ueyama authored
Previously we were not printing out the flags of the incompatible section which made it difficult to determine what the problem was. The error message format has been change to the following: error: incompatible section flags for .bar >>> /foo/bar/incompatible-section-flags.s.tmp.o:(.bar): 0x403 >>> output section .bar: 0x3 Patch by Alexander Richardson. Differential Revision: https://reviews.llvm.org/D32484 llvm-svn: 301319
-
- Apr 25, 2017
-
-
George Rokos authored
Differential Revision: https://reviews.llvm.org/D32490 llvm-svn: 301318
-
Andrew Ng authored
This patch reapplies r301309 with the fix to the MIR test to fix the assertion triggered by r301309. Had trimmed a little bit too much from the MIR! llvm-svn: 301317
-
Craig Topper authored
The matching here wasn't able to handle all the possible commutes. It always assumed the not would be on the left of the xor, but that's not guaranteed. Differential Revision: https://reviews.llvm.org/D32474 llvm-svn: 301316
-
Alex Lorenz authored
rdar://31758344 llvm-svn: 301315
-
Simon Pilgrim authored
llvm-svn: 301314
-
Dylan McKay authored
llvm-svn: 301313
-
Andrew Ng authored
This reverts commit r301309 which is causing buildbot assertion failures. llvm-svn: 301312
-
Daniel Sanders authored
Summary: No test case since I'm not aware of an in-tree target that needs this. Reviewers: hans Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D32398 llvm-svn: 301311
-
Alex Lorenz authored
rdar://31603531 llvm-svn: 301310
-
Andrew Ng authored
This patch fixes a bug with the updating of DBG_VALUE's in BreakAntiDependencies. Previously, it would only attempt to update the first DBG_VALUE following the instruction whose register is being changed, potentially leaving DBG_VALUE's referring to the wrong register. Now the code will update all DBG_VALUE's that immediately follow the instruction. This issue was detected as a result of an optimized codegen difference with "-g" where an X86 byte/word fixup was not performed due to a DBG_VALUE referencing the wrong register. Differential Revision: https://reviews.llvm.org/D31755 llvm-svn: 301309
-
Simon Pilgrim authored
Noticed in D32391. llvm-svn: 301308
-
Nitesh Jain authored
llvm-svn: 301307
-
Pavel Labath authored
Summary: The toolchain file has been deprecated in favor of the "official" toolchain file present in the Android NDK. Also update the web build instructions to reflect this. Reviewers: eugene Subscribers: srhines, mgorny, dgross, tberghammer, lldb-commits Differential Revision: https://reviews.llvm.org/D32441 llvm-svn: 301306
-
Simon Pilgrim authored
llvm-svn: 301305
-
Andrew Ng authored
One of the fast-math optimizations is to replace calls to standard double functions with their float equivalents, e.g. exp -> expf. However, this can cause infinite loops for the following: float expf(float val) { return (float) exp((double) val); } A similar inline declaration exists in the MinGW-w64 math.h header file which when compiled with -O2/3 and fast-math generates infinite loops. So this fix checks that the calling function to the standard double function that is being replaced does not match the float equivalent. Differential Revision: https://reviews.llvm.org/D31806 llvm-svn: 301304 -
Simon Pilgrim authored
llvm-svn: 301303
-
Ismail Donmez authored
llvm-svn: 301302
-
Michael Kruse authored
Do not conflict if the value of Existing and Proposed are the same. This change only affects unit tests, but no functional changes are expected on LLVM-IR, as no Known information is yet extracted and consequently this functionality is only triggered through unit tests. Differential Revision: https://reviews.llvm.org/D32025 llvm-svn: 301301
-
Simon Pilgrim authored
llvm-svn: 301300
-
Siddharth Bhat authored
Added a small change to the way pointer arguments are set in the kernel code generation. The way the pointer is retrieved now, specifically requests global address space to be annotated. This is necessary, if the IR should be run through NVPTX to generate OpenCL compatible PTX. The changes do not affect the PTX Strings generated for the CUDA target (nvptx64-nvidia-cuda), but are necessary for OpenCL (nvptx64-nvidia-nvcl). Additionally, the data layout has been updated to what the NVPTX Backend requests/recommends. Contributed-by: Philipp Schaad Reviewers: Meinersbur, grosser, bollu Reviewed By: grosser, bollu Subscribers: jlebar, pollydev, llvm-commits, nemanjai, yaxunl, Anastasia Tags: #polly Differential Revision: https://reviews.llvm.org/D32215 llvm-svn: 301299
-
Sanjoy Das authored
Summary: In a previous change I changed SCEV's normalization / denormalization to work with non-affine add recs. So the bailout in IVUsers can be removed. Reviewers: atrick, efriedma Reviewed By: atrick Subscribers: davide, mcrosier, llvm-commits Differential Revision: https://reviews.llvm.org/D32105 llvm-svn: 301298
-
Craig Topper authored
[InstCombine] Add test cases for missing commute handling in ((A ^ C) ^ B) & (B ^ A) -> (B ^ A) & ~C llvm-svn: 301297
-
Craig Topper authored
[InstCombine] Add test cases showing failures to handle commuted patterns after tricking the operand complexity sorting. llvm-svn: 301296
-
Nitesh Jain authored
Subscribers: jaydeep, bhushan, lldb-commits, slthakur llvm-svn: 301295
-
Craig Topper authored
llvm-svn: 301294
-
Gil Rapaport authored
This patch is part of D28975's breakdown. Genreating the control-flow to guard predicated instructions modified to only use SplitBlockAndInsertIfThen() for producing the if-then construct. Differential Revision: https://reviews.llvm.org/D32224 llvm-svn: 301293
-
Serge Guelton authored
It no longer needs a null terminator. llvm-svn: 301292
-
Xinliang David Li authored
Differential Revision: http://reviews.llvm.org/D32468 llvm-svn: 301291
-
Rui Ueyama authored
addIgnored defines a given symbol even if there is no existing symbol with the same name. So, even if libc provides __tls_get_addr, we should still be able to call addIgnored. Differential Revision: https://reviews.llvm.org/D32053 llvm-svn: 301290
-
Akira Hatanaka authored
We need to do this to prevent a miscompile which sinks an objc_retain past an objc_release that releases the object objc_retain retains. This happens because the top-down and bottom-up traversals each determines the insert point for retain or release individually without knowing where the other instruction is moved. For example, when the following IR is fed to the ARC optimizer, the top-down traversal decides to insert objc_retain right before objc_release and the bottom-up traversal decides to insert objc_release right after clang.arc.use. (IR before ARC optimizer) %11 = call i8* @objc_retain(i8* %10) call void (...) @clang.arc.use(%0* %5) call void @llvm.dbg.value(...) call void @objc_release(i8* %6) This reverses the order of objc_release and objc_retain, which causes the object to be destructed prematurely. (IR after ARC optimizer) call void (...) @clang.arc.use(%0* %5) call void @objc_release(i8* %6) call void @llvm.dbg.value(...) %11 = call i8* @objc_retain(i8* %10) rdar://problem/30530580 llvm-svn: 301289
-
Davide Italiano authored
llvm-svn: 301288
-
Rui Ueyama authored
llvm-svn: 301287
-
Rui Ueyama authored
llvm-svn: 301286
-
Richard Smith authored
llvm-svn: 301285
-