Displaying 20 results from an estimated 3000 matches similar to: "[LLVMdev] libc++.so in default binary distribution."
2013 Jun 18
2
[LLVMdev] Failure handling half type
Here there is the dump:
SelectionDAG.cpp:81: static bool
llvm::ConstantFPSDNode::isValueValidForType(llvm::EVT, const llvm::APFloat
&): Assertion `VT.isFloatingPoint() && "Can only convert between FP types"'
failed.
0 libLLVMSupport.so 0x00007f7405022de5
llvm::sys::PrintStackTrace(_IO_FILE*) + 37
1 libLLVMSupport.so 0x00007f74050232e3
2 libpthread.so.0
2012 Dec 19
2
[LLVMdev] GetElementPtrConstantExpr
Ok, now it's arising another problem. IR code that I obtain is the
following:
i8* bitcast ([5 x i8] c"hello\00" to i8*)
generated from instructions:
ConstantExpr::getBitCast (ConstantDataArray::getString (getGlobalContext
(), "hello"), PointerType::get (Type::getInt8Ty (getGlobalContext ()), 0))
but the LLC tool says: invalid cast opcode for cast from '[5 x i8]'
2012 Dec 19
0
[LLVMdev] GetElementPtrConstantExpr
On 19/12/12 10:25, Alessio Giovanni Baroni wrote:
> Ok, now it's arising another problem. IR code that I obtain is the following:
>
> i8* bitcast ([5 x i8] c"hello\00" to i8*)
You need to put your "hello" in a (constant) global variable. You can then
bitcast the address of the global to i8*. I suggest you compile some C code
that makes use of the address of a
2013 Jun 17
2
[LLVMdev] Failure handling half type
Hi,
if I write the following simple program:
target datalayout =
"e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
define void @foo () {
%1 = alloca half
store half 0xH42CC, half* %1 ; 0xH42CC = 3.4
%2 = load half* %1
2012 Dec 18
2
[LLVMdev] GetElementPtrConstantExpr
Because I need to convert an [4 x i8] type to i8* in the instantiation of a
GlobalVariable.
I have the follow declaration: %xxx = type { i8* } and I must emit the
following variable:
@yyy = linkonce_odr constant %xxx { [4 x i8] c"hello\00" }, but it's wrong.
How do I do?
2012/12/18 Óscar Fuentes <ofv at wanadoo.es>
> Alessio Giovanni Baroni <alessiogiovanni.baroni at
2013 Jun 17
0
[LLVMdev] Failure handling half type
Make sure you’re running LLVM with assertions enabled. You’ll get more information about what’s going wrong that way.
That said, yes, this looks like a bug. Specifically, SelectionDAGLegalize::ExpandConstantFP() assumes that f32 is the smallest floating point constant type it’ll need to handle, and that MVT enum ordering reflects that.
while (SVT != MVT::f32) {
2012 Dec 18
2
[LLVMdev] GetElementPtrConstantExpr
Hi to all,
I need the class in object, but the file ConstantsContext,h isn't installed.
What can I do? Copy that header under include? It's an installation bug?
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121218/e1130d0a/attachment.html>
2014 Apr 08
2
[LLVMdev] C++ 11 explicit keyword error
Hi,
I’m on Mac OS X 10.9.2 with all last updates; if I have this source:
class xxx explicit
{
};
int main (int argc, char **argv)
{
return 0;
}
and I compile it with clang++ -std=c++11 -Wall -pedantic -c I obtain this error:
nn:1: error: expected unqualified-id
{
^
1 error generated.
But the C++ 11 standard permits explicit on classes.
It’s a bug?
-------------- next part
2012 Dec 18
0
[LLVMdev] GetElementPtrConstantExpr
Alessio Giovanni Baroni <alessiogiovanni.baroni at gmail.com> writes:
> I need the class in object, but the file ConstantsContext,h isn't installed.
>
> What can I do? Copy that header under include? It's an installation bug?
That's an internal header, not part of the public API.
Why do you need the classes declared on that header?
2012 Dec 18
0
[LLVMdev] GetElementPtrConstantExpr
Alessio Giovanni Baroni <alessiogiovanni.baroni at gmail.com> writes:
> Because I need to convert an [4 x i8] type to i8* in the instantiation of a
> GlobalVariable.
> I have the follow declaration: %xxx = type { i8* } and I must emit the
> following variable:
> @yyy = linkonce_odr constant %xxx { [4 x i8] c"hello\00" }, but it's wrong.
>
> How do I do?
2014 Sep 30
4
[LLVMdev] Can libc++ build for arm cross compiler?
The following web say the libc++abi is ready on arm.http://libcxxabi.llvm.org/spec.html
I try to build libc++ and libc++abi for host x86_64(linux) and target arm(linux) but fail.I have read the web http://llvm.org/docs/HowToCrossCompileLLVM.html
Does anyone know whether it's available for my need? If you know how to build, what is the build options you use?
Best regards
cschen
--------------
2015 Feb 03
2
[LLVMdev] [RFC] Progress report on CMake build system's ability to replace autoconf
On Feb 3, 2015, at 1:40 PM, Duncan P. N. Exon Smith <dexonsmith at apple.com> wrote:
>
>> On 2015 Feb 3, at 13:26, Chris Bieneman <beanz at apple.com> wrote:
>>
>>
>>> On Feb 3, 2015, at 1:06 PM, Jonathan Roelofs <jroelofs.lists at gmail.com> wrote:
>>>
>>>
>>>
>>> On 2/3/15 12:08 PM, Chris Bieneman wrote:
2014 Oct 03
3
[LLVMdev] Can libc++ build for arm cross compiler?
On 10/3/14 10:16 AM, Dan Albert wrote:
>>
>> I try to build libc++ and libc++abi for host x86_64(linux) and target
>> arm(linux) but fail.
>>
>
> Failing in what way? If this isn't working out of the box, we've done
> something wrong.
Yeah, it would help to know more specifics about where you're getting stuck.
>
> jroelofs might know more...
For
2014 May 01
2
[LLVMdev] [ exception_ptr ] libcxx doesn't cope well with libcxxabi under linux
Since the original buildit script doesn't cover my needs I switched to a custom but really similar script, in the meantime I also got the habit
to dig for new flags and support and the __GLIBCXX__ define was hiding
some of this errors. I see that other linux-based operating system offer this kind of support and they even use the same core components of my
GNU/Linux distribution.
You are
2015 Feb 03
2
[LLVMdev] [RFC] Progress report on CMake build system's ability to replace autoconf
> On Feb 3, 2015, at 1:06 PM, Jonathan Roelofs <jroelofs.lists at gmail.com> wrote:
>
>
>
> On 2/3/15 12:08 PM, Chris Bieneman wrote:
>
>> Other issues not tracked by bugs:
>>
>> * CMake builds for libc++?
> Can you elaborate... what do you mean by this? AFAIK this already works.
Duncan made a comment on IRC about being libc++, but I’m not aware
2013 Jun 29
0
[LLVMdev] Failure handling half type
Just ran into this as well. Did you ever open a a bug report about it?
On Tue, Jun 18, 2013 at 3:43 AM, Alessio Giovanni Baroni <
alessiogiovanni.baroni at gmail.com> wrote:
> Here there is the dump:
>
> SelectionDAG.cpp:81: static bool
> llvm::ConstantFPSDNode::isValueValidForType(llvm::EVT, const llvm::APFloat
> &): Assertion `VT.isFloatingPoint() && "Can
2013 Jun 29
0
[LLVMdev] Failure handling half type
I don't.
2013/6/29 Keno Fischer <kfischer at college.harvard.edu>
> Just ran into this as well. Did you ever open a a bug report about it?
>
>
> On Tue, Jun 18, 2013 at 3:43 AM, Alessio Giovanni Baroni <
> alessiogiovanni.baroni at gmail.com> wrote:
>
>> Here there is the dump:
>>
>> SelectionDAG.cpp:81: static bool
>>
2014 May 01
2
[LLVMdev] [ exception_ptr ] libcxx doesn't cope well with libcxxabi under linux
Hi,
I'm under Ubuntu 13.10 amd64 I just compiled both my libcxx and my libcxxabi.
I noticed this really weird behaviour, while trying to compile some C++11-compliant piece of code I get this error at runtime
exception_ptr not yet implemented
Aborted (core dumped)
Now my experience tells me that this is something that can easily be related to the ABI, so I go to the official libcxxabi
2013 Feb 07
0
[LLVMdev] question about llvm libc++ build
Hello: ..I met a problem when I run buildit c++ standard It tells me Fatal
error miss head file "string.h". I cannot found the file in include
files...on svn sever..Thanks for read my e-mail..and Sorry about my poor
English.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2014 Oct 07
2
[LLVMdev] Can libc++ build for arm cross compiler?
Hi cschen,
It seems that libunwind (the one included in libcxxabi) is mandatory at the
moment. Use the second build command instead:
$ CROSS_COMPILING=arm ENABLE_LIBUNWIND=1 ./scripts/compile-all.sh
Logan
On Tue, Oct 7, 2014 at 5:32 PM, gamma_chen <gamma_chen at yahoo.com.tw> wrote:
> After do "sudo apt-get update", the following are pass.
>
> Install the