Displaying 18 results from an estimated 18 matches for "applytypeconstraints".
2019 Nov 20
4
Tablegen PAT limitation?
...enDAGPatterns.cpp:455:0
#10 0x000000000048860f llvm::SDTypeConstraint::ApplyTypeConstraint(llvm::TreePatternNode*, llvm::SDNodeInfo const&, llvm::TreePattern&) const /home/nancy/work/rpp_clang/llvm/utils/TableGen/CodeGenDAGPatterns.cpp:1506:0
#11 0x00000000004a780b llvm::SDNodeInfo::ApplyTypeConstraints(llvm::TreePatternNode*, llvm::TreePattern&) const /home/nancy/work/rpp_clang/llvm/utils/TableGen/CodeGenDAGPatterns.h:1307:0
#12 0x000000000048e303 llvm::TreePatternNode::ApplyTypeConstraints(llvm::TreePattern&, bool) /home/nancy/work/rpp_clang/llvm/utils/TableGen/CodeGenDAGPatterns...
2008 Jun 26
0
[LLVMdev] LLVM on OpenBSD
...Here is a backtrace (courtesy of Andrew) of the tblgen run, which aborts
about 50% of the time when it feels like it:
#1 0x04e521a3 in abort () at /usr/src/lib/libc/stdlib/abort.c:68
#2 0x04df29d7 in __assert2 (file=0x3c0018e1 "CodeGenDAGPatterns.cpp",
line=934, func=0x3c0020a6 "ApplyTypeConstraints",
failedexpr=0x3c002400
"getOperator()->isSubClassOf(\"SDNodeXForm\") && \"Unknown node
type!\"") at /usr/src/lib/libc/gen/assert.c:52
#3 0x1c0d0bcd in llvm::TreePatternNode::ApplyTypeConstraints
(this=0x7dfc0700, TP=@0x7c0fb6c0, NotRegisters=fals...
2008 Jun 10
6
[LLVMdev] LLVM on OpenBSD
Hi there,
I am a student considering a compiler design based dissertation with
llvm. I am having problems building llvm on OpenBSD-current. I hope to
make a port of llvm for OpenBSD once I have figured out how to build
it.
Observe:
llvm[3]: Compiling Deserialize.cpp for Release build
In file included from /home/edd/llvm/llvm-2.3/include/llvm/Bitcode/BitstreamRead
er.h:18,
from
2019 Nov 21
2
Tablegen PAT limitation?
...rns.cpp:455:0
#10 0x000000000048860f llvm::SDTypeConstraint::ApplyTypeConstraint(llvm::TreePatternNode*, llvm::SDNodeInfo const&, llvm::TreePattern&) const /home/nancy/work/rpp_clang/llvm/utils/TableGen/CodeGenDAGPatterns.cpp:1506:0
#11 0x00000000004a780b llvm::SDNodeInfo::ApplyTypeConstraints(llvm::TreePatternNode*, llvm::TreePattern&) const /home/nancy/work/rpp_clang/llvm/utils/TableGen/CodeGenDAGPatterns.h:1307:0
#12 0x000000000048e303 llvm::TreePatternNode::ApplyTypeConstraints(llvm::TreePattern&, bool) /home/nancy/work/rpp_clang/llvm/utils/TableGen/CodeGenDAGPat...
2019 Nov 22
2
Tablegen PAT limitation?
...rns.cpp:455:0
#10 0x000000000048860f llvm::SDTypeConstraint::ApplyTypeConstraint(llvm::TreePatternNode*, llvm::SDNodeInfo const&, llvm::TreePattern&) const /home/nancy/work/rpp_clang/llvm/utils/TableGen/CodeGenDAGPatterns.cpp:1506:0
#11 0x00000000004a780b llvm::SDNodeInfo::ApplyTypeConstraints(llvm::TreePatternNode*, llvm::TreePattern&) const /home/nancy/work/rpp_clang/llvm/utils/TableGen/CodeGenDAGPatterns.h:1307:0
#12 0x000000000048e303 llvm::TreePatternNode::ApplyTypeConstraints(llvm::TreePattern&, bool) /home/nancy/work/rpp_clang/llvm/utils/TableGen/CodeGenDAGPat...
2019 Nov 25
2
Tablegen PAT limitation?
...rns.cpp:455:0
#10 0x000000000048860f llvm::SDTypeConstraint::ApplyTypeConstraint(llvm::TreePatternNode*, llvm::SDNodeInfo const&, llvm::TreePattern&) const /home/nancy/work/rpp_clang/llvm/utils/TableGen/CodeGenDAGPatterns.cpp:1506:0
#11 0x00000000004a780b llvm::SDNodeInfo::ApplyTypeConstraints(llvm::TreePatternNode*, llvm::TreePattern&) const /home/nancy/work/rpp_clang/llvm/utils/TableGen/CodeGenDAGPatterns.h:1307:0
#12 0x000000000048e303 llvm::TreePatternNode::ApplyTypeConstraints(llvm::TreePattern&, bool) /home/nancy/work/rpp_clang/llvm/utils/TableGen/CodeGenDAGPat...
2008 Jun 12
1
[LLVMdev] LLVM on OpenBSD
...t; llvm[3]: Building ARM.td instruction selector implementation with tblgen
> > assertion "getOperator()->isSubClassOf("SDNodeXForm") && "Unknown node
> > type!"" failed: file "CodeGenDAGPatterns.cpp", line 949, function
> > "ApplyTypeConstraints"
Could you please try with gcc 4.x and check, whether this problem exists
for you or not.
--
With best regards, Anton Korobeynikov.
Faculty of Mathematics & Mechanics, Saint Petersburg State University.
2008 Jun 16
2
[LLVMdev] LLVM on OpenBSD
...build on OpenBSD with gcc-4.2.
llvm[3]: Building ARM.td instruction selector implementation with tblgen
assertion "getOperator()->isSubClassOf("SDNodeXForm") && "Unknown node
type!"" failed: file "CodeGenDAGPatterns.cpp", line 932, function
"ApplyTypeConstraints"
gmake[3]: *** [/usr/ports/devel/llvm/w-llvm-2.3/llvm-2.3/lib/Target/ARM/Release/ARMGenDAGISel.inc.tmp]
Abort trap (core dumped)
gmake[3]: Leaving directory
`/usr/ports/devel/llvm/w-llvm-2.3/llvm-2.3/lib/Target/ARM'
gmake[2]: *** [ARM/.makeall] Error 2
gmake[2]: Leaving directory
`/usr/por...
2008 Jun 12
0
[LLVMdev] LLVM on OpenBSD
...Building ARM.td instruction selector implementation with tblgen
>> > assertion "getOperator()->isSubClassOf("SDNodeXForm") && "Unknown node
>> > type!"" failed: file "CodeGenDAGPatterns.cpp", line 949, function
>> > "ApplyTypeConstraints"
> Could you please try with gcc 4.x and check, whether this problem exists
> for you or not.
gcc4.2 works fine.
--
Best Regards
Edd
http://students.dec.bournemouth.ac.uk/ebarrett
2008 Jun 11
1
[LLVMdev] LLVM on OpenBSD
...M.td assembly writer with tblgen
llvm[3]: Building ARM.td instruction selector implementation with tblgen
assertion "getOperator()->isSubClassOf("SDNodeXForm") && "Unknown node
type!"" failed: file "CodeGenDAGPatterns.cpp", line 949, function
"ApplyTypeConstraints"
gmake[3]: *** [/tmp/llvm/lib/Target/ARM/Debug/ARMGenDAGISel.inc.tmp]
Abort trap (core dumped)
gmake[3]: Leaving directory `/tmp/llvm/lib/Target/ARM'
gmake[2]: *** [ARM/.makeall] Error 2
gmake[2]: Leaving directory `/tmp/llvm/lib/Target'
gmake[1]: *** [Target/.makeall] Error 2
gmake[1]...
2008 Jun 16
0
[LLVMdev] LLVM on OpenBSD
...c-4.2.
>
> llvm[3]: Building ARM.td instruction selector implementation with tblgen
> assertion "getOperator()->isSubClassOf("SDNodeXForm") && "Unknown node
> type!"" failed: file "CodeGenDAGPatterns.cpp", line 932, function
> "ApplyTypeConstraints"
> gmake[3]: *** [/usr/ports/devel/llvm/w-llvm-2.3/llvm-2.3/lib/Target/ARM/Release/ARMGenDAGISel.inc.tmp]
> Abort trap (core dumped)
> gmake[3]: Leaving directory
> `/usr/ports/devel/llvm/w-llvm-2.3/llvm-2.3/lib/Target/ARM'
> gmake[2]: *** [ARM/.makeall] Error 2
> gmake[2...
2008 Jun 11
0
[LLVMdev] LLVM on OpenBSD
On 2008-06-10, at 09:19, Edd Barrett wrote:
> I am a student considering a compiler design based dissertation with
> llvm. I am having problems building llvm on OpenBSD-current. I hope
> to make a port of llvm for OpenBSD once I have figured out how to
> build it.
Hi Edd,
Could you please update to r52213 or later in svn and check whether
this error is resolved with your
2015 Jan 11
2
[LLVMdev] Backend Tablegen Instruction Definition
...let Inst{11- 7} = dst;
let Inst{6 - 0} = 0b1110011;
}
However, the compilation fails with the follow:
llvm[3]: Building RISCV.td instruction information with tblgen
llvm-tblgen: /home/jleidel/dev/working/jleidel-riscv-llvm/riscv-trunk/utils/TableGen/CodeGenDAGPatterns.cpp:161
ode::ApplyTypeConstraints(llvm::TreePattern &, bool): Assertion `getNumChildren() >= 2 && "Missing RHS of a set
Does the codegen permit me to write instruction definitions manually in this manner, or do I need to virtualize the instruction given the lack of RHS args?
cheers
john
John D. Leidel
2008 Jun 17
4
[LLVMdev] LLVM on OpenBSD
...ith, as I dont really know where to start:
llvm[3]: Building ARM.td instruction information with tblgen
assertion "getOperator()->isSubClassOf("SDNodeXForm") && "Unknown node type!"" f
ailed: file "CodeGenDAGPatterns.cpp", line 932, function "ApplyTypeConstraints"
gmake[3]: *** [/usr/ports/devel/llvm/w-llvm-2.3/llvm-2.3/lib/Target/ARM/Release/
ARMGenInstrInfo.inc.tmp] Abort trap (core dumped)
gmake[3]: Leaving directory `/usr/ports/devel/llvm/w-llvm-2.3/llvm-2.3/lib/Targe
t/ARM'
gmake[2]: *** [ARM/.makeall] Error 2
gmake[2]: Leaving directory `/usr...
2008 Sep 21
2
[LLVMdev] OpenBSD port in progress
While building an OpenBSD port for LLVM 2.3 I encountered a few issues.
The first one is that the system compiler
$ gcc -v
Reading specs from /usr/lib/gcc-lib/amd64-unknown-openbsd4.3/3.3.5/specs
Configured with:
Thread model: single
gcc version 3.3.5 (propolice)
Fails to build TableGen correctly which then crashes while processing
the tables for ARM. I fixed this by using gcc 4.2.0
The
2008 Jun 18
1
[LLVMdev] LLVM on OpenBSD
...the syntax errors in the configure script and doing a
build with optimizations turned off it stops at the same point.
I've tested it several times in vmware and virtualbox so far, I can
try qemu if you like, but it isn't hardware related.
Perhaps refactoring the function
TreePatternNode::ApplyTypeConstraints() into several smaller functions
would help.
Regards,
Andrew Dalgleish
2008 Jun 18
0
[LLVMdev] LLVM on OpenBSD
Hi,
On Wednesday 18 June 2008 15:08:46 Edd Barrett wrote:
> Holger Schurig wrote:
> >> With 3.3.5 my first test took 5 times to produce a non "bus
> >> error" build. There were no 'make cleans' in between.
> >>
> >> What is going on?
> >
> > You mean you used your bsd-ports-provided gcc to compile LLVM and
> > you've
2008 Jun 18
4
[LLVMdev] LLVM on OpenBSD
Holger Schurig wrote:
>> With 3.3.5 my first test took 5 times to produce a non "bus
>> error" build. There were no 'make cleans' in between.
>>
>> What is going on?
>
> You mean you used your bsd-ports-provided gcc to compile LLVM and
> you've got 4 times a bus-error during the build? In this case,
> it cannot be a LLVM problem.
Ok,