Displaying 14 results from an estimated 14 matches for "alessiogiovanni".
2012 Dec 19
2
[LLVMdev] GetElementPtrConstantExpr
...ing (getGlobalContext
(), "hello"), PointerType::get (Type::getInt8Ty (getGlobalContext ()), 0))
but the LLC tool says: invalid cast opcode for cast from '[5 x i8]' to
'i8*'.
Any help?
2012/12/18 Óscar Fuentes <ofv at wanadoo.es>
> 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 cons...
2012 Dec 19
0
[LLVMdev] GetElementPtrConstantExpr
...tInt8Ty (getGlobalContext ()), 0))
>
> but the LLC tool says: invalid cast opcode for cast from '[5 x i8]' to 'i8*'.
>
> Any help?
>
>
> 2012/12/18 Óscar Fuentes <ofv at wanadoo.es <mailto:ofv at wanadoo.es>>
>
> Alessio Giovanni Baroni <alessiogiovanni.baroni at gmail.com
> <mailto: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 emi...
2012 Dec 18
2
[LLVMdev] GetElementPtrConstantExpr
...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 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....
2013 Jun 18
2
[LLVMdev] Failure handling half type
...{
>
> SVT = (MVT::SimpleValueType)(SVT.getSimpleVT().SimpleTy - 1);
> ...
> }
>
> That function, and possibly others, need to be taught how to handle
> half-floats, it looks like.
>
> -Jim
>
> On Jun 17, 2013, at 6:59 AM, Alessio Giovanni Baroni <
> alessiogiovanni.baroni at gmail.com> wrote:
>
> 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"
> targe...
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>
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 decl...
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\...
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
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 only convert between FP types"'
> fai...
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
>> llvm::ConstantFPSDNode::isValueValidForType(llvm::EVT, const llvm::APFloat
>> &): Assertion `VT.isFloatingPoint() && "Can only convert between FP t...
2013 Jun 17
0
[LLVMdev] Failure handling half type
...32) {
SVT = (MVT::SimpleValueType)(SVT.getSimpleVT().SimpleTy - 1);
...
}
That function, and possibly others, need to be taught how to handle half-floats, it looks like.
-Jim
On Jun 17, 2013, at 6:59 AM, Alessio Giovanni Baroni <alessiogiovanni.baroni at gmail.com> wrote:
> 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 tripl...
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
2013 Dec 12
1
[LLVMdev] libc++.so in default binary distribution.
Hi to all,
when I download the clang/llvm officila binaries, I found the libc++
headers under lib directory,
but I didn't found libc++.so.
Why you ship libc++ headers but no shared library?
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131212/36204500/attachment.html>
2013 Feb 19
0
[LLVMdev] Undefined reference to GenericOptionValue
Hi to all,
I'm having some trouble on Linux x86_64, because when I write, for example,
the following line:
opt<bool> foo ("foo", desc ("foofoofoo"));
clang/gcc say: undefined reference to GenericOptionValue.
It's not a namespace problem, they are correct (I have an using namespace
at the beginning).
Thanks,
-------------- next part --------------
An HTML