Displaying 20 results from an estimated 34 matches for "smallvectortemplatecommon".
2018 Mar 22
2
ARM Backend BuildMI operand issues
...`isImm() && "This is not
an immediate"' failed.
Which even after hours I can't make sense why the operand kind is wrong.
Another thing I noticed is that using ARM::tB results in the following
error:
.../include/llvm/ADT/SmallVector.h:154: const T&
llvm::SmallVectorTemplateCommon<T, <template-parameter-1-2>
>::operator[](llvm::SmallVectorTemplateCommon<T,
<template-parameter-1-2> >::size_type) const [with T =
llvm::MCOperand; <template-parameter-1-2> = void;
llvm::SmallVectorTemplateCommon<T, <template-parameter-1-2>...
2018 Mar 22
0
ARM Backend BuildMI operand issues
...t;get(ARM::tCMPi8)).addReg(ARM::R0).addImm(1);
-Tom
> Which even after hours I can't make sense why the operand kind is wrong.
>
> Another thing I noticed is that using ARM::tB results in the following error:
>
> .../include/llvm/ADT/SmallVector.h:154: const T& llvm::SmallVectorTemplateCommon<T, <template-parameter-1-2> >::operator[](llvm::SmallVectorTemplateCommon<T, <template-parameter-1-2> >::size_type) const [with T = llvm::MCOperand; <template-parameter-1-2> = void; llvm::SmallVectorTemplateCommon<T, <template-parameter-1-2> >::const_refere...
2013 Mar 30
1
[LLVMdev] SmallVectorTemplateCommon assertion failed
I'm starting my exception handling and I am getting this error while
running:
parse: /home/opt/llvm/include/llvm/ADT/SmallVector.h:126: reference
llvm::SmallVectorTemplateCommon<llvm::EVT>::operator[](unsigned int):
Assertion `begin() + idx < end()' failed.
Stack dump:
0. Running pass 'X86 DAG->DAG Instruction Selection' on function
'@_wrapped_entry'
This is coming from the execution engine. The code which produces this is:
declare i32 @l...
2018 Mar 23
1
ARM Backend BuildMI operand issues
...).addImm(1);
>
> -Tom
>
>> Which even after hours I can't make sense why the operand kind is wrong.
>>
>> Another thing I noticed is that using ARM::tB results in the following error:
>>
>> .../include/llvm/ADT/SmallVector.h:154: const T& llvm::SmallVectorTemplateCommon<T, <template-parameter-1-2> >::operator[](llvm::SmallVectorTemplateCommon<T, <template-parameter-1-2> >::size_type) const [with T = llvm::MCOperand; <template-parameter-1-2> = void; llvm::SmallVectorTemplateCommon<T, <template-parameter-1-2> >::const_refere...
2018 Jun 30
2
Using BuildMI to insert Intel MPX instruction BNDCU failed
...).addReg(X86::BND2,
RegState::Define).addReg(X86::R10);
And here is to stack track when I compiler program with modified llc:
/home/shenyouren/workspace/build-llvm/bin/llc -o obj/simple.s
obj/simple-opt.bc
llc: /home/shenyouren/workspace/llvm/include/llvm/ADT/SmallVector.h:154:
const T& llvm::SmallVectorTemplateCommon<T, <template-parameter-1-2>
>::operator[](llvm::SmallVectorTemplateCommon<T, <template-parameter-1-2>
>::size_type) const [with T = llvm::MCOperand; <template-parameter-1-2> =
void; llvm::SmallVectorTemplateCommon<T, <template-parameter-1-2>
>::const_refere...
2016 Sep 14
4
setDataLayout segfault
...t;setDataLayout( targetMachine->createDataLayout() ); // as
well as this
}
Backtrace:
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
e-m:e-i64:64-f80:128-n8:16:32:64-S128
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff5f65832 in llvm::SmallVectorTemplateCommon<unsigned char,
void>::end (this=0x148) at
/home/fwinter/svn/llvm-3.9/include/llvm/ADT/SmallVector.h:117
117 iterator end() { return (iterator)this->EndX; }
(gdb) bt
#0 0x00007ffff5f65832 in llvm::SmallVectorTemplateCommon<unsigned char,
void>::end (this=0x148) at
/home/fwin...
2010 Aug 09
1
[LLVMdev] Stack trace - clang
...he beginning of a function.
I encountered a problem when I tried to debug it with gdb. There was an
assertion failure and printed some information without stack trace. The
process has been finished when it printed the information. I tried to
set a breakpoint at the operator[] with:
break
llvm::SmallVectorTemplateCommon<llvm::MCOperand>::operator[](unsigned int)
The program did not stop there either. Here is what it printed. The
question is: how can I print the stack trace when there is an assertion
failure. Thanks tons.
clang: /export/home/zbin/llvm/llvm/include/llvm/ADT/SmallVector.h:163:
const T&am...
2016 Sep 14
2
setDataLayout segfault
...t;
>> Backtrace:
>>
>>
>> Using host libthread_db library
>> "/lib/x86_64-linux-gnu/libthread_db.so.1".
>> e-m:e-i64:64-f80:128-n8:16:32:64-S128
>>
>> Program received signal SIGSEGV, Segmentation fault.
>> 0x00007ffff5f65832 in llvm::SmallVectorTemplateCommon<unsigned char,
>> void>::end (this=0x148) at
>> /home/fwinter/svn/llvm-3.9/include/llvm/ADT/SmallVector.h:117
>> 117 iterator end() { return (iterator)this->EndX; }
>> (gdb) bt
>> #0 0x00007ffff5f65832 in llvm::SmallVectorTemplateCommon<unsigned
&g...
2013 Jan 27
2
[LLVMdev] lldb cannot display structure type for llvm3.2
...such as "print ArgLocs.size()" as follows,
-> 593 CCValAssign &VA = ArgLocs[i];
594 EVT ValVT = VA.getValVT();
595 ISD::ArgFlagsTy Flags = Ins[i].Flags;
596 bool IsRegLoc = VA.isRegLoc();
(lldb) print ArgLocs.size()
error: call to a function 'llvm::SmallVectorTemplateCommon<llvm::CCValAssign>::size() const' that is not present in the target
error: Couldn't materialize struct: Structure hasn't been laid out yet
I use Xcode 4.5.2 and my lldb can display structure type information on llvm 3.1.
gdb can display the structure type on llvm 3.2.
Jonathan
2018 Jun 26
2
MachineFunction Instructions Pass using Segment Registers
...>
> BuildMI(MBB, MBB.end(), DL, TII->get(X86::MOV64mr))
> .add(baseReg)
> .add(scaleAmt)
> .add(indexReg);
>
> /* both instructions give the following error
>
> clang-6.0: /LLVM6.0.0/llvm/include/llvm/ADT/SmallVector.h:154: const
> T& llvm::SmallVectorTemplateCommon<T, <template-parameter-1-2>
> >::operator[](llvm::SmallVectorTemplateCommon<T,
> <template-parameter-1-2> >::size_type) const [with T =
> llvm::MCOperand; <template-parameter-1-2> = void;
> llvm::SmallVectorTemplateCommon<T, <template-parameter-1-2>...
2012 Oct 20
0
[LLVMdev] RegisterCoalescing pass crashes with ImplicitDef registers
On Oct 20, 2012, at 1:23 PM, Vincent Lejeune <vljn at ovi.com> wrote:
> below is an output of "llc -march=r600 -mcpu=cayman -print-before-all -debug-only=regalloc file.shader" command from llvm3.2svn.
> The register coalescing pass crashes when joining vreg12:sel_z with vreg13 registers, because it tries to access the interval liveness of vreg13... which is undefined.
>
2012 Oct 20
2
[LLVMdev] RegisterCoalescing pass crashes with ImplicitDef registers
Here it is :
Starting program: /home/vlj/llvmbin/bin/llc -march=r600 -mcpu=cayman /home/vlj/shader
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
llc: /home/vlj/llvm/include/llvm/ADT/SmallVector.h:143: const T& llvm::SmallVectorTemplateCommon<T, <template-parameter-1-2> >::operator[](unsigned int) const [with T = int; <template-parameter-1-2> = void; llvm::SmallVectorTemplateCommon<T, <template-parameter-1-2> >::const_reference = const int&]: Assertion `begin() + idx < end()' failed.
Program rec...
2018 Jun 24
2
MachineFunction Instructions Pass using Segment Registers
The size suffix thing is a weird quirk in our assembler I should look into
fixing. Instructions in at&t syntax usually have a size suffix that is
often optional
For example:
add %ax, %bx
and
addw %ax, %bx
Are equivalent because the register name indicates the size.
but for an instruction like this
addw $1, (%ax)
There is nothing to infer the size from so an explicit suffix is
2013 Jan 28
0
[LLVMdev] lldb cannot display structure type for llvm3.2
...; as follows,
>
> -> 593 CCValAssign &VA = ArgLocs[i];
> 594 EVT ValVT = VA.getValVT();
> 595 ISD::ArgFlagsTy Flags = Ins[i].Flags;
> 596 bool IsRegLoc = VA.isRegLoc();
> (lldb) print ArgLocs.size()
> error: call to a function
> 'llvm::SmallVectorTemplateCommon<llvm::CCValAssign>::size() const' that is
> not present in the target
> error: Couldn't materialize struct: Structure hasn't been laid out yet
>
>
> I use Xcode 4.5.2 and my lldb can display structure type information on
> llvm 3.1.
> gdb can display the struc...
2018 Jun 23
2
RFC: Should SmallVectors be smaller?
...fault, every SmallVector is at most 6 pointers big.
Interesting idea... and then audit current instances to drop the size argument.
Note that a SmallVector with N value of 0 takes the same storage as an N value of 1, so very large sizeof(T) would still use more than 6 pointers. The cause is that SmallVectorTemplateCommon stores the first element so that it can detect small mode by comparing BeginX against &FirstEl. The fix would be to shave a bit off of capacity (dropping max capacity to 2B)... likely reasonable.
If we're going to audit anyway, I wonder if forking names would make sense. E.g., the curren...
2011 Dec 10
5
[LLVMdev] Types inference in tblgen: Multiple exceptions
...t; For example, if I do not cast extractelt's node type I get the following
>> error when I run tblgen with -gen-instr-info:
>>
>> llvm[3]: Building Meph.td instruction information with tblgen
>> llvm-tblgen: llvm/include/llvm/ADT/SmallVector.h:150: T&
>> llvm::SmallVectorTemplateCommon<T>::operator[](unsigned int) [with T =
>> llvm::MVT::SimpleValueType]: Assertion `begin() + idx< end()' failed.
>>
>> which comes from utils/TableGen/CodeGenDAGPatterns.cpp:450:
>>
>> for (unsigned i = 1, e = Other.TypeVec.size(); i != e; ++i)
>>...
2011 Dec 09
2
[LLVMdev] Types inference in tblgen: Multiple exceptions
...supported by the architecture, is it
right?
For example, if I do not cast extractelt's node type I get the following
error when I run tblgen with -gen-instr-info:
llvm[3]: Building Meph.td instruction information with tblgen
llvm-tblgen: llvm/include/llvm/ADT/SmallVector.h:150: T&
llvm::SmallVectorTemplateCommon<T>::operator[](unsigned int) [with T =
llvm::MVT::SimpleValueType]: Assertion `begin() + idx < end()' failed.
which comes from utils/TableGen/CodeGenDAGPatterns.cpp:450:
for (unsigned i = 1, e = Other.TypeVec.size(); i != e; ++i)
if (isInteger(Other.TypeVec[i]) && Ot...
2013 Jan 04
2
[LLVMdev] TableGen patterns with multiple outputs
...#4 0x00000001003a9821 in __assert_rtn (func=0x1003d0d14 "operator[]",
file=0x1003b169e
"/Users/jholewinski/projects/llvm/src/llvm/include/llvm/ADT/SmallVector.h",
line=139, expr=0x1003b16e7 "begin() + idx < end()") at Signals.inc:358
#5 0x00000001000ca394 in
llvm::SmallVectorTemplateCommon<llvm::EEVT::TypeSet, void>::operator[]
(this=0x10384fed0, idx=1) at SmallVector.h:139
#6 0x00000001000c965b in llvm::TreePatternNode::getExtType
(this=0x10384fed0, ResNo=1) at CodeGenDAGPatterns.h:349
#7 0x00000001000bd615 in llvm::CodeGenDAGPatterns::ParseInstructions
(this=0x7fff5fbff0b0)...
2011 Jun 24
2
[LLVMdev] Infinite loop in llc on ARMv7 (LLVM HEAD from June 17)
Hello,
it looks like I do have infinite loop in llc on linux/armv7 platform
somewhere in llvm::SmallVectorImpl. Two backtraces obtained with 10
seconds delay are:
0x0099be14 in llvm::SmallVectorTemplateCommon<llvm::SDNode*>::setEnd
(this=0x7ee90b38, P=0x5c06988)
at /export/home/karel/vcs/llvm-head/include/llvm/ADT/SmallVector.h:103
103 void setEnd(T *P) { this->EndX = P; }
(gdb) where
#0 0x0099be14 in llvm::SmallVectorTemplateCommon<llvm::SDNode*>::setEnd
(this=0x7ee90b38,...
2013 Jan 07
2
[LLVMdev] TableGen patterns with multiple outputs
...__assert_rtn (func=0x1003d0d14 "operator[]",
> file=0x1003b169e
> "/Users/jholewinski/projects/llvm/src/llvm/include/llvm/ADT/SmallVector.h",
> line=139, expr=0x1003b16e7 "begin() + idx < end()") at Signals.inc:358
> #5 0x00000001000ca394 in
> llvm::SmallVectorTemplateCommon<llvm::EEVT::TypeSet, void>::operator[]
> (this=0x10384fed0, idx=1) at SmallVector.h:139
> #6 0x00000001000c965b in llvm::TreePatternNode::getExtType
> (this=0x10384fed0, ResNo=1) at CodeGenDAGPatterns.h:349
> #7 0x00000001000bd615 in llvm::CodeGenDAGPatterns::ParseInstructions
&...