Displaying 20 results from an estimated 9000 matches similar to: "[LLVMdev] Exploiting 'unreachable' for optimization purposes"
2013 Oct 24
0
[LLVMdev] Exploiting 'unreachable' for optimization purposes
On Oct 24, 2013, at 5:22 AM, Stephan Tolksdorf <st at quanttec.com> wrote:
> Hi,
>
> When clang/llvm compiles the following sample (with -O2) it optimizes away the second comparison in test1 but not in test2. Is this handling of 'unreachable' by purpose, or is this just a shortcoming of the current optimization passes? GCC and MSVC (with the equivalent code using the
2013 Oct 24
1
[LLVMdev] Exploiting 'unreachable' for optimization purposes
Hi Mark,
I just dug out a bug from 2006 which since 2009 seems to also have
covered efforts to make better use of unreachable for optimization
purposes: http://llvm.org/bugs/show_bug.cgi?id=810
I've added a comment and assigned it to you as requested.
Thanks,
Stephan
On 24.10.13 19:05, Mark Lacey wrote:
>
> On Oct 24, 2013, at 5:22 AM, Stephan Tolksdorf <st at
2014 May 11
2
[LLVMdev] [cfe-dev] Code generation for noexcept functions
On Sun, May 11, 2014 at 8:19 AM, Stephan Tolksdorf <st at quanttec.com> wrote:
> Hi,
>
> When clang/LLVM can't prove that a noexcept function only contains
> non-throwing code, it seems to insert an explicit exception handler that
> calls std::terminate. Why doesn't clang leave it to the eh personality
> function to call std::terminate when an exception is thrown
2014 Feb 03
6
[LLVMdev] ADT/Hashing.h on 32-bit platforms
On 02.02.14 00:48, Chandler Carruth wrote:
> On Sat, Feb 1, 2014 at 8:35 AM, Stephan Tolksdorf <st at quanttec.com
> <mailto:st at quanttec.com>> wrote:
>
> Hi,
>
> Currently the hashing implementation in ADT/Hashing.h produces hash
> values on 32-bit platforms that differ from the lower 32-bits of the
> hash values produced on 64-bit platforms.
2014 Feb 01
2
[LLVMdev] ADT/Hashing.h on 32-bit platforms
Hi,
Currently the hashing implementation in ADT/Hashing.h produces hash
values on 32-bit platforms that differ from the lower 32-bits of the
hash values produced on 64-bit platforms. It seems the only reason for
this difference is that the uint64_t integer seed is truncated to
size_t. Since the usage of uint64_t and size_t as types for seed values
in the implementation is somewhat
2015 Mar 12
3
[LLVMdev] On LLD performance
On Thu, Mar 12, 2015 at 4:52 AM, Stephan Tolksdorf <st at quanttec.com> wrote:
>
> On 11.03.2015 23:02, Rui Ueyama wrote:
>
>> An idea to make the resolver faster would be to use a concurrent hash
>> map to insert new symbols in parallel. Assuming symbols from the same
>> file don't conflict each other (I think it's a valid assumption), this
>> can
2014 Apr 14
2
[LLVMdev] Emit code for 'unreachable'
I am not seeing this happening, at least not for unreachables that
follow calls to 'noreturn' functions.
On Apr 14, 2014, at 3:48 AM, Anton Korobeynikov <anton at korobeynikov.info> wrote:
> Hello
>
> x86 backend emits ud2 instruction in this case
>
> On Mon, Apr 14, 2014 at 1:46 PM, Vadim Chugunov <vadimcn at gmail.com> wrote:
>> Hi,
>> Is it
2005 Apr 15
2
Running scripts and the console
Hi,
is there any way to execute scripts in R (Windows) without the script
being copied to the console, so that only error messages are reported?
Or to have a second console in parallel? Please. Not being able to hit
the F10 button like in S-Plus seriously impairs my productivity (not
only because it is slow and clutters my console history).
And totally unrelated: Is there any chance that R
2008 Oct 15
4
[LLVMdev] LLVM 2.4 problem? (resend)
On 15.10.2008, at 3.42, Chris Lattner wrote:
>
> On Oct 14, 2008, at 12:52 PM, Tatu Vaajalahti wrote:
>
>>
>> Hi,
>>
>> I don't know enough C to know for certain if this is a programmer or
>> compiler error:
>
> Hi Tatu,
>
> With this information it is impossible to tell if it is your fault or
> llvm's fault. Please file a bug with a
2008 Oct 15
0
[LLVMdev] LLVM 2.4 problem? (resend)
Tatu Vaajalahti wrote:
> With this program llvm-gcc -O2 optimizes test2 away even though it's
> address is taken in program (gcc-4.2 does not, neither does llvm-gcc
> with -O or -O0):
>
>
> #include <stdio.h>
>
> static const char test1 = 'x';
> static const char test2 = 'x';
>
> int main(int argc, char **argv)
> {
>
2014 Apr 15
2
[LLVMdev] Emit code for 'unreachable'
On Tue, Apr 15, 2014 at 2:14 PM, Vadim Chugunov <vadimcn at gmail.com> wrote:
> I've looked through LLVM codegen code and found that
> SelectionDAGBuilder::visitUnreachable() is basically a no-op. So I don't
> see how it could have generated anything...
>
> What would be the right way to go about adding this functionality?
> Right now I am thinking to add
2008 Oct 15
0
[LLVMdev] LLVM 2.4 problem? (resend)
> With this program llvm-gcc -O2 optimizes test2 away even though it's
> address is taken in program (gcc-4.2 does not, neither does llvm-gcc
> with -O or -O0):
I can confirm that test2 is replaced with test1 everywhere using llvm-gcc
from svn head.
> #include <stdio.h>
>
> static const char test1 = 'x';
> static const char test2 = 'x';
>
2005 Oct 27
2
Rsync over NFS mount sending whole files
Hey all,
I'm not sure if anyone has experienced this, and I have searched for
it online, with no conclusive, err.. conclusions.
Basically, when rsyncing two \test1(local) and \mnt\test2\ (NFS mount)
it seems that when using rsync with --no-whole-file entire files
(instead of just updated blocks) are sent through.
I am using the following command
rsync -avtz --no-whole-file \test1\
2019 Sep 17
2
Imaptest stall
I am also testing rbox plugin ;) So I would like just the imaptest tool
to work. No one else ever run into this? I saw something similar on the
mailing list a long time ago.
-----Original Message-----
From: Daniel Miller via dovecot [mailto:dovecot at dovecot.org]
To: dovecot at dovecot.org
Subject: Re: Imaptest stall
If you're just speed testing for writing probably sdbox or maildir
2005 Apr 18
1
R 2.1.0 GUI language
Hi
How do I set the language of the GUI? With R 2.1.0 it suddenly changed
to German and I want it to stay English. I couldn't find any setting to
change.
Regards,
Stephan
2005 May 02
1
Multivariate kernel density estimation
Hi,
I need to estimate the density at the mean of a sample of a few
thousands data points with a dimesion up to 5. The data is uni-modal and
regularly shaped.
I couldn't find any kernel density package for R which supports more
than 3 dimensions. Have I overlooked a package or does somebody have
code for this purpose? Any other advice?
Regards,
Stephan
2014 Jan 07
8
RFC: copy-attributes command
Hi,
attached there is a prototype of patch for adding a new copy-attributes
command. Such command would allow copy the attributes of a "file" to
another, so for example in guestfish:
copy-attributes foo bar permissions:true xattributes:false
would only copy the permissions of foo to bar, not copying its extended
attributes too.
Just few notes:
- my first daemon command, so
2006 Dec 29
5
coded to categorical variables in a large dataset
I am working with a dataset where there are 5 possible outcomes (coded 1:5),
I would like to create 5 categorical variables (event1...event5). I am using
a for loop an if statements, but I have a large dataset( approx 100,000
rows) it takes quite a bit of time, is there a way to speed this up? Here is
some sample code of what I am currently doing.
test2 <-rep(seq(1:5),2000)
event1 <-
2008 Feb 12
6
Matching Problem
Hi
I have this vector of strings.
MyData <- c("Test1","Test2","I(Test1^2)","I(Test2^3)","I(Test1.Test2^2)")
where I want to extract only the text after "I(" and before "^" so that the
string returned only contain c("Test1","Test2","Test1.Test2")
I am not very skilled in the use of matching
2003 Aug 03
3
Include-from ?
Hello -
I just finished doing a search of the archives and couldn't seem to get
this answered.
Example, I have a root directory containing the following directories:
/Test1
/Test2
/Test3
I want to rsync only /Test2 and all subdirs under. So my include-from
file looks like:
+ Test2/*
- /*
This doesn't work as nothing is synced, and if I do a -vv it tells me
that nothing is being