Displaying 20 results from an estimated 25 matches for "cast2".
Did you mean:
cast
2016 Feb 09
2
[GVN] same sequence of instructions in if and else branch
There is a phi-node "%phi = phi i64 [%cast1, %if], [%cast2, %else]" in the common successor. The actual control flow is a bit more complex, but there is a common successor block, and %cast1 and %cast2 are the two values that the phi node in the common successor takes.
Does the existence of the phi node affect optimization?
Thanks,
Taewook
From: &l...
2016 Feb 09
3
[GVN] same sequence of instructions in if and else branch
...ir common predecessors. For example, for the following code snippet
pred:
…
br i1 %cmp, label %if, label %else
if:
%incdec.ptr.1 = getelementptr inbounds i8, i8* %ptr, i64 1
%cast1 = ptrtoint i8* %incdec.ptr.1 to i64
…
else:
%incdec.ptr.2 = getelementptr inbounds i8, i8* %ptr, i64 1
%cast2 = ptrtoint i8* %incdec.ptr.2 to i64
GVN doesn't move instructions in 'if' and 'else' blocks to 'pred' block even though it knows that incdec.ptr.1/case1 has a same value number with incdec.ptr.2/cast2. I see a case where this kind of redundancy confuses following optim...
2016 Feb 09
2
[GVN] same sequence of instructions in if and else branch
...i'm developing for LLVM at
> https://github.com/dberlin/llvm-gvn-rewrite does the right thing.
>
>
>
> On Tue, Feb 9, 2016 at 11:42 AM, Taewook Oh via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
>
>> There is a phi-node "%phi = phi i64 [%cast1, %if], [%cast2, %else]" in
>> the common successor. The actual control flow is a bit more complex, but
>> there is a common successor block, and %cast1 and %cast2 are the two values
>> that the phi node in the common successor takes.
>>
>> Does the existence of the phi node affe...
2003 Jun 03
1
[LLVMdev] Problem with `as'
...=========================
%.LC0 = internal constant [17 x sbyte] c"Hello World %d \0A\00"
%.LC1 = internal constant [17 x sbyte] c"yyyyyyyyyyyyyyy\0a\00"
declare int "puts"(sbyte*)
int "main"() {
%cast1 = getelementptr [17 x sbyte]* %.LC0, long 0, long 0
%cast2 = getelementptr [17 x sbyte]* %.LC1, long 0, long 0
%result = seteq int 5, 6
br bool %result, label %IfEqual, label %IfUnEqual
IfEqual:
call int %puts(sbyte* %cast1)
br label %Done
IfUnEqual:
call int %puts(sbyte* %cast2)
Done:
ret int 0
}
The assembler says:
as: hello.ll:17: parse error, u...
2004 May 09
1
[LLVMdev] Strange SetCond Behavior
On Sun, 2004-05-09 at 15:25, Chris Lattner wrote:
> That sounds like a bug. I'll look into it. I assume you are seeing this
> problem with the X86 backend?
>
Yes.
> > Perhaps the cast from bool to long doesn't work the same as for bool
> > to int? Should it?
>
> Yes, you should get a long 0 or 1.
That's what I thought.
> Please do, I'll also
2005 Jul 27
3
Icecast dies
I'm running the Windows EXE, Oddsock's compiled version of July 13, 2005.
I have 1 server running Icecast that generates the streams, and 3 servers
that pickup these streams via relay and distribute the streams to our
listeners. In other words, I have 3 servers in a cluster that the clients
connect to. All three of the cluster servers use the exact same icecast.xml
file. The three
2004 Aug 06
2
WinAmp3 & Icecast2 compatibility?
Hello folks
I'm having trouble playing ogg streams with WinAmp3. I run Icecast2 & Ices2
(both compiled from CVS about two weeks ago) on a Linux box, the files
being streamed were encoded with oggenc (from oggutils1.0, managed
80kbitrate...) The problem is that WinAmp3 won't actually play the .ogg
stream. When I give it the URL (http://myserver:8000/mount.ogg) it says
&...
2010 Jan 22
2
[LLVMdev] status of EH tests in llvm test-suite
.../FarJump.c
SetjmpLongjmp/C++/C/Looping.c
SetjmpLongjmp/C++/C/MultipleSetjmp.c
SetjmpLongjmp/C++/C/SimpleCTest.c
SetjmpLongjmp/C++/C/WhileLoop.c
SignlessTypes/cast-bug.c
SignlessTypes/cast.cpp
SignlessTypes/cast2.cpp
SignlessTypes/ccc.c
SignlessTypes/div.c
SignlessTypes/factor.c
SignlessTypes/rem.c
SignlessTypes/shr.c
4) are the -enable-eh and/or -enable-eh-conditional-support flags still
needed? That is, to enable eh support, must one spe...
2014 May 04
12
[LLVMdev] [RFC] Benchmarking subset of the test suite
...ts/conditional-gnu-ext
SingleSource/UnitTests/conditional-gnu-ext-cxx
SingleSource/UnitTests/DefaultInitDynArrays
SingleSource/UnitTests/FloatPrecision
SingleSource/UnitTests/initp1
SingleSource/UnitTests/member-function-pointers
SingleSource/UnitTests/printargs
SingleSource/UnitTests/SignlessTypes/cast2
SingleSource/UnitTests/SignlessTypes/cast-bug
SingleSource/UnitTests/SignlessTypes/ccc
SingleSource/UnitTests/SignlessTypes/div
SingleSource/UnitTests/SignlessTypes/factor
SingleSource/UnitTests/SignlessTypes/Large/cast
SingleSource/UnitTests/SignlessTypes/shr
SingleSource/UnitTests/stmtexpr
Single...
2008 Apr 04
0
[LLVMdev] PATCH: Use size reduction -- wave1
On Fri, 4 Apr 2008, heisenbug wrote:
>> point taken. thanks!
>
>
> Whatever I try I get something like this:
>
> ggreif$ cd MultiSource/
> ggreif$ make
> make[2]: *** No rule to make target `Output/be.bc', needed by `Output/
> burg.linked.rbc'. Stop.
> make[1]: *** [Burg/.makeall] Error 2
> make: *** [Applications/.makeall] Error 2
This is the
2008 Apr 04
3
[LLVMdev] PATCH: Use size reduction -- wave1
On Apr 4, 8:06 pm, heisenbug <ggr... at gmail.com> wrote:
> On Apr 4, 7:51 pm, Török Edwin <edwinto... at gmail.com> wrote:
>
>
>
> > heisenbug wrote:
> > > On Apr 3, 10:53 pm, Gabor Greif <ga... at mac.com> wrote:
> > > ...
>
> > >>> 3) Make sure that make check and some reasonable subset of llvm-test
> > >>>
2012 Feb 19
2
[LLVMdev] Problem While Running Test Suite
...UnitTests/SignlessTypes/div | * | * |
SingleSource/UnitTests/SignlessTypes/shr | * | * |
SingleSource/UnitTests/SignlessTypes/ccc | * | * |
SingleSource/UnitTests/SignlessTypes/cast2 | * | * |
SingleSource/UnitTests/SignlessTypes/factor | * | * |
SingleSource/UnitTests/SignlessTypes/cast-bug | * | * |
SingleSource/UnitTests/SignlessTypes/rem...
2008 Feb 03
0
[LLVMdev] 2.2 Prerelease available for testing
...0.08 | - - n/a n/a
SingleSource/UnitTests/SignlessTypes/cast-bug | 0.0030 628 0.0029 * 0.0029 | 0.00 0.00 0.00 * 0.01 | - - n/a n/a
SingleSource/UnitTests/SignlessTypes/cast2 | 0.0033 528 0.0019 * 0.0019 | 0.00 0.00 0.00 * 0.01 | - - n/a n/a
SingleSource/UnitTests/SignlessTypes/ccc | 0.0041 696 0.0028 * 0.0031...
2007 Sep 18
0
[LLVMdev] 2.1 Pre-Release Available (testers needed)
...0.09 | - - n/a n/a
SingleSource/UnitTests/SignlessTypes/cast-bug | 0.0000 600 0.0040 * 0.0000 | 0.01 0.00 0.00 * 0.01 | - - n/a n/a
SingleSource/UnitTests/SignlessTypes/cast2 | 0.0040 548 0.0040 * 0.0040 | 0.00 0.00 0.00 * 0.01 | - - n/a n/a
SingleSource/UnitTests/SignlessTypes/ccc | 0.0080 708 0.0040 * 0.0040...
2008 Jan 24
6
[LLVMdev] 2.2 Prerelease available for testing
LLVMers,
The 2.2 prerelease is now available for testing:
http://llvm.org/prereleases/2.2/
If anyone can help test this release, I ask that you do the following:
1) Build llvm and llvm-gcc (or use a binary). You may build release
(default) or debug. You may pick llvm-gcc-4.0, llvm-gcc-4.2, or both.
2) Run 'make check'.
3) In llvm-test, run 'make TEST=nightly report'.
4) When
2007 Sep 18
0
[LLVMdev] 2.1 Pre-Release Available (testers needed)
...0.08 | - - n/a n/a
SingleSource/UnitTests/SignlessTypes/cast-bug | 0.0039 612 0.0026 * 0.0025 | 0.00 0.00 0.00 * 0.01 | - - n/a n/a
SingleSource/UnitTests/SignlessTypes/cast2 | 0.0037 536 0.0015 * 0.0015 | 0.00 0.00 0.00 * 0.01 | - - n/a n/a
SingleSource/UnitTests/SignlessTypes/ccc | 0.0057 696 0.0023 * 0.0023...
2008 Jan 28
0
[LLVMdev] 2.2 Prerelease available for testing
...0.07 | - - n/a n/a
SingleSource/UnitTests/SignlessTypes/cast-bug | 0.0013 648 0.0013 * 0.0014 | 0.00 0.00 0.00 * 0.00 | - - n/a n/a
SingleSource/UnitTests/SignlessTypes/cast2 | 0.0012 548 0.0010 * 0.0010 | 0.00 0.00 0.00 * 0.00 | - - n/a n/a
SingleSource/UnitTests/SignlessTypes/ccc | 0.0023 724 0.0016 * 0.0016...
2009 Oct 20
1
[LLVMdev] 2.6 pre-release2 ready for testing
...| - - n/a n/a
> SingleSource/UnitTests/SignlessTypes/cast-bug |
> 0.0000 632 0.0000 * 0.0000 | 0.01 0.00
> 0.00 * 0.01 | - - n/a n/a
> SingleSource/UnitTests/SignlessTypes/cast2 |
> 0.0000 592 0.0000 * 0.0100 | 0.00 0.00
> 0.00 * 0.01 | - - n/a n/a
> SingleSource/UnitTests/SignlessTypes/ccc |
> 0.0100 772 0.0100 * ...
2009 Oct 20
0
[LLVMdev] 2.6 pre-release2 ready for testing
Hi Tanya,
> 1) Compile llvm from source and untar the llvm-test in the projects
> directory (name it llvm-test or test-suite). Choose to use a
> pre-compiled llvm-gcc or re-compile it yourself.
I compiled llvm and llvm-gcc with separate objects directories.
Platform is x86_64-linux-gnu.
> 2) Run make check, report any failures (FAIL or unexpected pass). Note
> that you need to
2009 Oct 20
1
[LLVMdev] 2.6 pre-release2 ready for testing
...a n/a
> SingleSource/UnitTests/SignlessTypes/cast-
> bug | 0.0000 632 0.0000
> * 0.0000 | 0.01 0.00 0.00 *
> 0.01 | - - n/a n/a
> SingleSource/UnitTests/SignlessTypes/
> cast2 | 0.0000 592 0.0000
> * 0.0100 | 0.00 0.00 0.00 *
> 0.01 | - - n/a n/a
> SingleSource/UnitTests/SignlessTypes/
> ccc | 0.0100 772 0.0100
&...