Displaying 20 results from an estimated 3000 matches similar to: "[LLVMdev] LangRef description of 'add nsw' doesn't match reality"
2009 May 27
2
[LLVMdev] CMake build maturity
Paul Melis <llvm at assumetheposition.nl> writes:
> It seems that the llvm-config generated when building through CMake does
> not contain -lpthread on my 32-bit Core2Duo Gentoo Linux system (even
> though I configured with LLVM_ENABLE_PTHREADS). I get missing symbols
> during linking of e.g. the JIT tutorial code:
[snip]
This should be fixed now. Now about this one:
>
2009 May 27
0
[LLVMdev] CMake build maturity
Hi Oscar,
Óscar Fuentes wrote:
> Paul Melis <llvm at assumetheposition.nl> writes:
>
> [snip]
>
> Thanks! Fixed.
>
> BTW, bug reports are welcome.
>
It seems that the llvm-config generated when building through CMake does
not contain -lpthread on my 32-bit Core2Duo Gentoo Linux system (even
though I configured with LLVM_ENABLE_PTHREADS). I get missing symbols
2009 Jun 01
0
[LLVMdev] CMake build maturity
Óscar Fuentes wrote:
> Paul Melis <llvm at assumetheposition.nl> writes:
>
>
>> It seems that the llvm-config generated when building through CMake does
>> not contain -lpthread on my 32-bit Core2Duo Gentoo Linux system (even
>> though I configured with LLVM_ENABLE_PTHREADS). I get missing symbols
>> during linking of e.g. the JIT tutorial code:
>>
2009 Sep 15
3
[LLVMdev] C API linking problem
Hello all,
Does anyone have any inside why I can't get the below simple C API test to
link? This is on a 32-bit Gentoo Linux system and LLVM TOT which was
compiled with enable-optimized, gcc is 4.3.2.
15:26|melis at juggle2:~/c/llvmpy> cat t.c
#include "llvm-c/Core.h"
int main()
{
LLVMContextRef ctx;
ctx = LLVMContextCreate();
return 0;
}
15:29|melis at
2009 Aug 31
2
[LLVMdev] Build(s) broken?
Paul Melis wrote:
> Paul Melis wrote:
>
>> Jim Grosbach wrote:
>>
>>> On Aug 30, 2009, at 10:18 AM, Paul Melis wrote:
>>>
>>>
>>>> Hello,
>>>>
>>>> Bill Wendling wrote:
>>>>
>>>>> Before we had buildbots, a random patch would break the system. It
>>>>>
2009 Dec 01
1
[LLVMdev] Troubles with llvm.gcroot and exception handling
Hi all,
I'm toying around with LLVM's GC support and am struggling with the
following. I have a little test snippet (a .ll file with IR) that uses
llvm.gcroot to mark a GC root, but when I compile it to assembly with
llc, followed by generating an executable with gcc I get an error
related to exception handling:
22:40|melis at juggle2:~/projects/llvm_gc> cat root.ll
%obj = type { i8*,
2009 Sep 15
0
[LLVMdev] C API linking problem
"Paul Melis" <llvm at assumetheposition.nl> writes:
> 15:29|melis at juggle2:~/c/llvmpy> gcc -W -Wall -o blah `llvm-config --cflags
> --ldflags --libs all` t.c
> /tmp/ccs4MbKp.o: In function `main':
> t.c:(.text+0x21): undefined reference to `LLVMContextCreate'
> collect2: ld returned 1 exit status
>
> 15:29|melis at juggle2:~/c/llvmpy> nm
2008 Sep 12
3
[LLVMdev] Difficulty with reusing DAG nodes.
I'm trying to implement *MUL_LOHI for my processor.
My processor has mulxss (e.g.) that gives the 32 high bits of a 64 bit
multiply.
I tried this in ios2ISelDAGToDAG.cpp:
/// Mul/Div with two results
case ISD::SMUL_LOHI:
case ISD::UMUL_LOHI: {
SDValue Op1 = Node->getOperand(0);
SDValue Op2 = Node->getOperand(1);
AddToISelQueue(Op1);
2010 Sep 08
5
Newbie cross tabulation issue
hi, i'm new in R and i need some help. Please, ¿do you know a function how
can process cross tables for many variables and show the result in one table
who look like this?:
+----------------------------------------------------+
|------------------ | X variable |
|----------------- | Xop1 | Xop2 | Xop3|.....|
+----------------------------------------------------+
|Yvar1 |
2015 Apr 06
2
[LLVMdev] inconsistent wording in the LangRef regarding "shl nsw"
The LangRef says this for left shifts:
"If the nsw keyword is present, then the shift produces a poison value
if it shifts out any bits that disagree with the resultant sign bit."
... (1)
followed by
"As such, NUW/NSW have the same semantics as they would if the shift
were expressed as a mul instruction with the same nsw/nuw bits in (mul
%op1, (shl 1, %op2))." ... (2)
But
2013 Jan 09
0
[LLVMdev] Global variable initializer type does not match global variable type
Peter Zotov писал 09.01.2013 19:59:
> Hello.
>
> I've managed to create a bitcode file (attached; also available at
> [1]) which produces
> a series of identical errors when verified:
>
> | Global variable initializer type does not match global variable
> type!
> | %i.NilClass* @nil
>
> When ran through llvm-dis and recompiled, through, it verifies
>
2009 Jun 01
2
[LLVMdev] CMake build maturity
Paul Melis wrote:
> Óscar Fuentes wrote:
>
>> Paul Melis <llvm at assumetheposition.nl> writes:
>>
>>
>>
>>> It seems that the llvm-config generated when building through CMake does
>>> not contain -lpthread on my 32-bit Core2Duo Gentoo Linux system (even
>>> though I configured with LLVM_ENABLE_PTHREADS). I get missing
2010 Sep 29
2
[LLVMdev] comparison pattern trouble
Our architecture has 1-bit boolean predicate registers.
I've defined comparison
def NErrb : InstTCE<(outs I1Regs:$op3), (ins I32Regs:$op1,I32Regs:$op2), "", [(set I1Regs:$op3, (setne I32Regs:$op1, I32Regs:$op2))]>;
But then I end up having the following bug:
Code
%0 = zext i8 %data to i32
%1 = zext i16 %crc to i32
%2 = xor i32 %1, %0
%3 = and i32 %2, 1
%4 =
2017 Nov 29
3
RFC: Adding 'no-overflow' keyword to 'sdiv'\'udiv' instructions
Introduction:
We would like to add new keyword to 'sdiv'\'udiv' instructions i.e. 'no-overflow'.
This is the updated solution devised in the discussion: http://lists.llvm.org/pipermail/llvm-dev/2017-October/118257.html
The proposed keywords:
"nof" stands for 'no-overflow'
Syntax:
<result> = sdiv nof <ty> <op1>,
2010 Sep 29
1
[LLVMdev] comparison pattern trouble - might be a bug in LLVM 2.8?
On 29 Sep 2010, at 06:25, Heikki Kultala wrote:
> Our architecture has 1-bit boolean predicate registers.
>
> I've defined comparison
>
>
> def NErrb : InstTCE<(outs I1Regs:$op3), (ins I32Regs:$op1,I32Regs:$op2), "", [(set I1Regs:$op3, (setne I32Regs:$op1, I32Regs:$op2))]>;
>
>
>
>
> But then I end up having the following bug:
>
>
2009 May 22
2
[LLVMdev] CMake build maturity
Paul Melis <llvm at assumetheposition.nl> writes:
> Hi, just chiming in here...
>
> Óscar Fuentes wrote:
>> [...]
>>
>> This is a simple guide for using cmake with LLVM:
>>
>> http://www.llvm.org/docs/CMake.html
>>
>> The makefiles distributed with LLVM have nothing to do with cmake.
>>From the few times I tried building LLVM with
2009 Aug 31
7
[LLVMdev] Build(s) broken? (was: Re: Buildbots: Apology and Explanation)
Paul Melis wrote:
> Jim Grosbach wrote:
>>
>> On Aug 30, 2009, at 10:18 AM, Paul Melis wrote:
>>
>>> Hello,
>>>
>>> Bill Wendling wrote:
>>>> Before we had buildbots, a random patch would break the system. It
>>>> would sometimes take a whole day to determine which patch broke it.
>>> I see the buildbots are currently
2018 Feb 09
1
Optim function returning always initial value for parameter to be optimized
Hello,
I'm trying to fminimize the following problem:
You have a data frame with 2 columns.
data.input= data.frame(state1 = (1:500), state2 = (201:700) )
with data that partially overlap in terms of values.
I want to minimize the assessment error of each state by using this function:
err.th.scalar <- function(threshold, data){
state1 <- data$state1
state2 <- data$state2
2010 Oct 01
2
[LLVMdev] Illegal optimization in LLVM 2.8 during SelectionDAG? (Re: comparison pattern trouble - might be a bug in LLVM 2.8?)
On 1 Oct 2010, at 13:35, Bill Wendling wrote:
> On Sep 30, 2010, at 2:13 AM, Heikki Kultala wrote:
>
>> Bill Wendling wrote:
>>> On Sep 29, 2010, at 12:36 AM, Heikki Kultala wrote:
>>>
>>>> On 29 Sep 2010, at 06:25, Heikki Kultala wrote:
>>>>
>>>>> Our architecture has 1-bit boolean predicate registers.
>>>>>
2010 Sep 29
0
[LLVMdev] comparison pattern trouble - might be a bug in LLVM 2.8?
On Sep 29, 2010, at 12:36 AM, Heikki Kultala wrote:
> On 29 Sep 2010, at 06:25, Heikki Kultala wrote:
>
>> Our architecture has 1-bit boolean predicate registers.
>>
>> I've defined comparison
>>
>> def NErrb : InstTCE<(outs I1Regs:$op3), (ins I32Regs:$op1,I32Regs:$op2), "", [(set I1Regs:$op3, (setne I32Regs:$op1, I32Regs:$op2))]>;