Displaying 20 results from an estimated 2000 matches similar to: "Hitting assertion failure related to vectorization + instcombine"
2016 Jul 20
2
Hitting assertion failure related to vectorization + instcombine
Thanks for notifying me. Yes, this was a recent change. Taking a look now.
On Wed, Jul 20, 2016 at 1:49 PM, Michael Kuperstein <mkuper at google.com>
wrote:
> +Sanjay, who touched this last. :-)
>
> On Wed, Jul 20, 2016 at 12:44 PM, Ismail Badawi (ibadawi) via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
>
>> Hi folks,
>>
>> I'm hitting the
2016 Jul 22
2
Hitting assertion failure related to vectorization + instcombine
Sanjay: let me know if this is something that will apply to 3.9.
Thanks,
Hans
On Wed, Jul 20, 2016 at 5:59 PM, Sanjay Patel via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> Quick update - the bug existed before I refactored that chunk in
> InstSimplify with:
> https://reviews.llvm.org/rL275911
>
> In fact, as discussed in https://reviews.llvm.org/D22537 - because we have a
2016 Jul 25
2
Hitting assertion failure related to vectorization + instcombine
Sure. David, what do you think about merging this to 3.9?
Sanjay: are you saying I'd just apply that diff to
InstructionSimplify.cpp, not InstCombineSelect.cpp?
On Fri, Jul 22, 2016 at 7:08 AM, Sanjay Patel <spatel at rotateright.com> wrote:
> Hi Hans -
>
> Yes, I think this is a good patch for 3.9 (cc'ing David Majnemer as code
> owner). The functional change was
2016 Jul 27
0
Hitting assertion failure related to vectorization + instcombine
David, Sanjay: ping?
On Mon, Jul 25, 2016 at 11:07 AM, Hans Wennborg <hans at chromium.org> wrote:
> Sure. David, what do you think about merging this to 3.9?
>
> Sanjay: are you saying I'd just apply that diff to
> InstructionSimplify.cpp, not InstCombineSelect.cpp?
>
> On Fri, Jul 22, 2016 at 7:08 AM, Sanjay Patel <spatel at rotateright.com> wrote:
>> Hi
2016 Jul 28
1
Hitting assertion failure related to vectorization + instcombine
LGTM
On Wednesday, July 27, 2016, Hans Wennborg <hans at chromium.org> wrote:
> David, Sanjay: ping?
>
> On Mon, Jul 25, 2016 at 11:07 AM, Hans Wennborg <hans at chromium.org
> <javascript:;>> wrote:
> > Sure. David, what do you think about merging this to 3.9?
> >
> > Sanjay: are you saying I'd just apply that diff to
> >
2017 Mar 30
2
InstructionSimplify: adding a hook for shufflevector instructions
As Sanjay noted in D31426<https://reviews.llvm.org/D31426#712701>, InstructionSimplify is missing the following simplification:
This function:
define <4 x i32> @splat_operand(<4 x i32> %x) {
%splat = shufflevector <4 x i32> %x, <4 x i32> undef, <4 x i32> zeroinitializer
%shuf = shufflevector <4 x i32> %splat, <4 x i32> undef, <4 x i32>
2017 Mar 30
2
InstructionSimplify: adding a hook for shufflevector instructions
Thanks, Sanjay, that makes sense. The opportunity for improving instcombining splat sounds promising.
Another question about shuffle simplification. This is a testcase from test/Transforms/InstCombine/vec_shuffle.ll:
define <4 x i32> @test10(<4 x i32> %tmp5) nounwind {
%tmp6 = shufflevector <4 x i32> %tmp5, <4 x i32> undef, <4 x i32> <i32 1, i32 undef, i32
2012 May 18
5
[LLVMdev] Phi + Select Optimization
Hi all,
I've just written a small enhancement to SimplifyPHINode.
The idea is the following:
If we have this:
a = phi(X, X, undef, undef, X, undef)
X = select cond, sth, a
or this:
a = phi(X, X, undef, undef, X, undef)
X = select cond, a, sth
we can replace the phi by 'a' and the select by 'sth'.
Why does this work?
Well, in those cases where control-flow happens to
2012 Feb 10
1
[LLVMdev] Your commit 149912 "Remove some dead code and tidy things up"...
Hi Chris,
>> Hi Chris, this was a very tempting commit to make, unfortunately it broke
>> pattern matching of vectors of booleans. The problem is that a
>> ConstantDataVector is only formed if the element type is one of i8, i16, etc.
>> So vectors of funky types, or not so funky types like i1, are no longer
>> matched. I noticed this while working on PR11948. The
2013 Jan 20
1
[LLVMdev] Get the value of a GlobalVariable
Hi,
I am executing a C program using JIT. When the program exits, the control
comes back to my program which initiates the JIT. Now, I want to read
the value(not the LLVM nomenclature) of a global variable (not the LLVM
nomenclature). I am able to get the global variable, using the following
command:
GlobalVariable *my_global = Mod->getNamedGlobal("MY_GLOBAL");
I want to know the
2015 Jul 21
0
[LLVMdev] DebugInfo/PDB/pdbdump-symbol-format.test fails with VS 2015
FWIW, this test is passing for me on Windows 7 with Visual Studio 2015
(debug build).
59> Running all regression tests
59> -- Testing: 23734 tests, 32 threads --
59>
59> Testing Time: 634.19s
59> Expected Passes : 22821
59> Expected Failures : 160
59> Unsupported Tests : 753
59> lit.py: lit.cfg:195: note: using clang:
2015 Jul 21
4
[LLVMdev] DebugInfo/PDB/pdbdump-symbol-format.test fails with VS 2015
Hi,
This might be interesting since it seems to be the only LLVM test
failing with VS 2015:
FAIL: LLVM :: DebugInfo/PDB/pdbdump-symbol-format.test (7377 of 14212)
******************** TEST 'LLVM ::
DebugInfo/PDB/pdbdump-symbol-format.test' FAILED ********************
Script:
--
llvm-pdbdump -symbols
C:\cygwin64\home\ismail\src\llvm\test\DebugInfo\PDB/Inputs/symbolformat.pdb
|
2015 Jul 23
1
[LLVMdev] DebugInfo/PDB/pdbdump-symbol-format.test fails with VS 2015
Ok just tried on Win 7 and the same problem occurs. I am building with :
cmake -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DLLVM_USE_CRT_RELEASE=MT
-DLLVM_ENABLE_TIMESTAMPS=ON -DLLVM_ENABLE_ASSERTIONS=ON
-DLLVM_INSTALL_TOOLCHAIN_ONLY=ON -DLLVM_TARGETS_TO_BUILD="ARM;X86"
-DPYTHON_EXECUTABLE=$python_exe -DLLVM_BUILD_TESTS=ON
-DLLVM_LIT_TOOLS_DIR=C:/cygwin64/bin
fwiw compiler-rt is
2016 Jan 15
2
Building SVN head with CMake - shared libraries?
On Fri, Jan 15, 2016 at 11:05 AM, Ismail Donmez <ismail at i10z.com> wrote:
> Hi,
>
> On Fri, Jan 15, 2016 at 12:59 AM, Chris Bieneman <beanz at apple.com> wrote:
>> I’m kinda scared that you’re using it. What are you trying to accomplish
>> that you are using it? Generally having LLVM split among that many
>> dynamically loaded libraries results in
2016 Oct 13
2
Status of docs/BitCodeFormat.rst?
I think it just changed formats which prompted a change in ID -- the code now uses TYPE_BLOCK_ID_NEW (= 17). I haven’t looked deeply to see how different it is.
Ismail
> On Oct 13, 2016, at 2:02 PM, Mehdi Amini <mehdi.amini at apple.com> wrote:
>
>
>> On Oct 13, 2016, at 10:24 AM, Ismail Badawi (ibadawi) via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>>
2014 Mar 26
3
[LLVMdev] Lots of regtest failures on PPC64/Linux
----- Original Message -----
> From: "Renato Golin" <renato.golin at linaro.org>
> To: "İsmail Dönmez" <ismail at donmez.ws>
> Cc: "LLVM Developers Mailing List" <llvmdev at cs.uiuc.edu>
> Sent: Wednesday, March 26, 2014 8:14:18 AM
> Subject: Re: [LLVMdev] Lots of regtest failures on PPC64/Linux
>
> Hi Ismail,
>
> Is
2012 Feb 09
2
[LLVMdev] Your commit 149912 "Remove some dead code and tidy things up"...
Hi Chris, this was a very tempting commit to make, unfortunately it broke
pattern matching of vectors of booleans. The problem is that a
ConstantDataVector is only formed if the element type is one of i8, i16, etc.
So vectors of funky types, or not so funky types like i1, are no longer
matched. I noticed this while working on PR11948. The good thing is that
the testcase there no longer crashes
2017 Aug 02
2
ubsan no longer compiles when libc++ is the default
Hi,
I see the following variables in the CMakeCache.txt:
SANITIZER_CXX_ABI:STRING=default
//STRINGS property for variable: SANITIZER_CXX_ABI
SANITIZER_CXX_ABI-STRINGS:INTERNAL=none;default;libcxxabi;libstdc++
Regards,
ismail
On Tue, Aug 1, 2017 at 7:32 PM, Vedant Kumar <vsk at apple.com> wrote:
>
>> On Aug 1, 2017, at 7:07 AM, İsmail Dönmez via llvm-dev <llvm-dev at
2013 Jul 22
0
[LLVMdev] Inverse of ConstantFP::get and similar functions?
----- Original Message -----
> Hi,
>
> I noticed that ConstantFP::get automatically returns the
> appropriately
> types Constant depending on the LLVM type passed in (i.e. if called
> with a vector, it returns a splat vector with the given constant).
>
> Is there any simple way to do the inverse of this function? i.e.,
> given a llvm::Value, check whether it is either
2015 Jan 30
2
[LLVMdev] ARM regression between r223766 and r223925
Hi,
On Fri, Jan 30, 2015 at 7:15 PM, Renato Golin <renato.golin at linaro.org> wrote:
> On 13 December 2014 at 09:49, İsmail Dönmez <ismail at donmez.ws> wrote:
>> With trunk things got even worse while compiling a simple hello world cpp:
>>
>> 1. /usr/lib/gcc/arm-linux-gnueabihf/4.9/../../../../include/c++/4.9/bits/basic_string.h:114:57:
>> current