Displaying 20 results from an estimated 9000 matches similar to: "[LLVMdev] global question"
2009 Mar 07
0
[LLVMdev] global question
Hi John,
On Sat, 7 Mar 2009, John Regehr wrote:
> Below is some C code and its LLVM translation (using a recent rev). The
> compiler goes ahead and loads from x in main, but it seems clear that a
> constant propagation pass could have inferred that x is 0. In fact that
> is what happens if x is static, but in this case I cannot see how
> external linkage of x would invalidate
2009 Mar 07
1
[LLVMdev] global question
Hi John,
On Sat, 7 Mar 2009, John Regehr wrote:
> Below is some C code and its LLVM translation (using a recent rev). The
> compiler goes ahead and loads from x in main, but it seems clear that a
> constant propagation pass could have inferred that x is 0. In fact that
> is what happens if x is static, but in this case I cannot see how
> external linkage of x would invalidate
2009 Jan 07
1
[LLVMdev] LLVM DebugInfoBuilder
Hi list,
hi Talin,
I'm working on a frontend to generate IR using the IRBuilder from LLVM.
Now I want to add source-level-debuginfo and for that I would like to use
the DebugInfoBuilder as it is taking some of the burderns. Unfortunately
it does not take all of them, yet.
As of today, even in SVN, it only can add a part of information needed. Of
course I also need stoppoint, declare,
2009 Mar 07
0
[LLVMdev] global question
Hi John,
On Sat, 7 Mar 2009, John Regehr wrote:
> Below is some C code and its LLVM translation (using a recent rev). The
> compiler goes ahead and loads from x in main, but it seems clear that a
> constant propagation pass could have inferred that x is 0. In fact that
> is what happens if x is static, but in this case I cannot see how
> external linkage of x would invalidate
2009 Jan 07
2
[LLVMdev] LLVM DebugInfoBuilder
Hi list,
hi Talin,
I'm working on a frontend to generate IR using the IRBuilder from LLVM.
Now I want to add source-level-debuginfo and for that I would like to use the
DebugInfoBuilder as it is taking some of the burderns. Unfortunately it does
not take all of them, yet.
As of today, even in SVN, it only can add a part of information needed. Of
course I also need stoppoint, declare,
2009 Mar 07
1
[LLVMdev] global question
On Mar 7, 2009, at 10:54 AM, Patrick Boettcher wrote:
> (I even remember someone, that it is platform specific whether x is
> initialized to 0 or not... or was it a question of C89 or C99?)
If that is the entire program, the value will be 0, and that is not
platform specific, save the fact in ancient history there were buggy
systems.
2009 Jan 07
0
[LLVMdev] LLVM DebugInfoBuilder
You are completely correct - the DebugInfoBuilder class as it currently
stands is only half finished. I've been meaning to work on it further,
however before that can happen I need to actually try and use the basic
block stuff in a real program so that I can get a feel for how it works
and what the API should look like. It may be a while before I get around
to doing that, however, so if
2012 Nov 14
1
[LLVMdev] Is infinite empty loop dead code?
Hi, dear Wenren:
Thank you so much for sharing this info. I really appreciate it.
Now I can move on deleting dead non-countable loops.
Thank you again!
Shuxin
On 11/14/12 12:56 AM, 陳韋任 (Wei-Ren Chen) wrote:
> On Wed, Nov 14, 2012 at 12:22:33AM -0800, Shuxin Yang wrote:
>> I do some google, I cannot find the answer...
>> I check C std, I cannot find answer either.
>>
2011 Jan 19
2
[LLVMdev] Building 176.gcc
Hi folks,
I have been stumped on a compilation problem when I tried to build
176.gcc of SPEC CPU2000 with clang v 2.8 (trunk 427) on Linux and intel.
First, I tried to compile with 'clang -std=c89 *.c -o gcc.clang' since
the default C standard of Clang is c99 while that of gcc is c89. It
reported this error:
./c-gperf.h:14:1: error: unknown type name 'inline'
inline
^
2008 Feb 29
2
setwd on other computer?
hi members,
is it possible to set the work directory ( e.g. via setwd() ) on a other
computer than R has been started?
thanks
paul
2008 Feb 21
3
variable syntax problem
dear members,
i would like to write a variable in a plot title (main="") but i don't
know the right syntax:(...i tried a lot of different ways without success.
here my example:
y=30
z=33
for (i in 10:length(tissue)) {
png(filename = tissues[i], width = 1024, height = 768, pointsize = 12,
bg = "white")
gene.graph("ENSG00000115252", rma.affy, gps=list(1:3,
2020 Aug 29
10
[Bug 3205] New: Support HPE NonStop Server Port
https://bugzilla.mindrot.org/show_bug.cgi?id=3205
Bug ID: 3205
Summary: Support HPE NonStop Server Port
Product: Portable OpenSSH
Version: 8.3p1
Hardware: Other
OS: Other
Status: NEW
Severity: enhancement
Priority: P5
Component: Build system
Assignee: unassigned-bugs at
2011 Jan 19
0
[LLVMdev] Building 176.gcc
On 01/18/2011 06:38 PM, Bin Zeng wrote:
> Hi folks,
>
> I have been stumped on a compilation problem when I tried to build
> 176.gcc of SPEC CPU2000 with clang v 2.8 (trunk 427) on Linux and intel.
> First, I tried to compile with 'clang -std=c89 *.c -o gcc.clang' since
> the default C standard of Clang is c99 while that of gcc is c89. It
> reported this error:
>
2014 Nov 14
10
[Bug 2315] New: OpenSSH 6.7p1 on AIX 7.1 compile issue
https://bugzilla.mindrot.org/show_bug.cgi?id=2315
Bug ID: 2315
Summary: OpenSSH 6.7p1 on AIX 7.1 compile issue
Product: Portable OpenSSH
Version: 6.7p1
Hardware: PPC
OS: AIX
Status: NEW
Severity: normal
Priority: P5
Component: Build system
Assignee: unassigned-bugs at
2009 Mar 07
3
[LLVMdev] global question
> Please correct me if I'm wrong, but how can the compiler know, that x is not
> initialized in another file which defines x as extern? It can only be
> sure, when x is declared static.
I don't think you can attach an initializer to an extern except at the
point where the variable is defined. But since x is defined here, there
would then be two definitions of x, a link-time
2007 Sep 11
2
include/share/alloc.h
Josh,
I noticed the recent addition of the above file. In that file you have
things like:
static void *safe_malloc_(size_t size)
{
/* malloc(0) is undefined; FLAC src convention is to always allocate */
if(!size)
size++;
return malloc(size);
}
Did you meant to have an "inline" in there to make it:
static inline void
2017 Jun 26
2
Install locks up my server
On 06/26/17 14:42, Timo Sirainen wrote:
> On 26 Jun 2017, at 23.19, Marc Perkel <marc at perkel.com> wrote:
>> Ever since 2.26 I haven't been able to upgrade. In fact the install locks up my server.
>>
>> I get into and infinite recursive loop where the config-guess program calls itself until the server locks up from overload.
>>
>> I'm running Centos
2014 Apr 15
2
[PATCH 2/3] Use fabsf() instead of fabs() since we have floats, not double
On Tue, Apr 15, 2014 at 12:33 PM, Peter Meerwald <pmeerw at pmeerw.net> wrote:
> Signed-off-by: Peter Meerwald <pmeerw at pmeerw.net>
> ---
> libspeexdsp/resample.c | 14 +++++++-------
> 1 file changed, 7 insertions(+), 7 deletions(-)
>
> diff --git a/libspeexdsp/resample.c b/libspeexdsp/resample.c
> index e32ca45..a19b997 100644
> ---
2009 Dec 14
2
[LLVMdev] clang error: multiple definition of `gnu_dev_*'
When trying to link more than one object files compiled with clang, I run into
errors of the following type:
$ clang -fblocks -g -I$HOME/opt/include -L$HOME/opt/lib/ -o helloworld
helloworld.c hello.o world.o -lBlocksRuntime
world.o: In function `gnu_dev_major':
/usr/include/sys/sysmacros.h:43: multiple definition of `gnu_dev_major'
hello.o:/usr/include/sys/sysmacros.h:43: first defined
2013 May 29
3
[PATCH RFC] virtio-pci: new config layout: using memory BAR
Paolo Bonzini <pbonzini at redhat.com> writes:
> Il 28/05/2013 19:32, Michael S. Tsirkin ha scritto:
>>>> > > +
>>>> > > + switch (addr) {
>>>> > > + case offsetof(struct virtio_pci_common_cfg, device_feature_select):
>>>> > > + return proxy->device_feature_select;
>>> >
>>> >