similar to: Missing code depending on a #ifdef within the .ll file

Displaying 20 results from an estimated 100 matches similar to: "Missing code depending on a #ifdef within the .ll file"

2019 Dec 18
2
Missing code depending on a #ifdef within the .ll file
Hi David, My question is: why both #ifdef and #else branches are missing? I think at least one of the two should be present... In fact there is a case where the width could be greater then PNG_USER_WIDTH_MAX but not greater then PNG_UINT_31_MAX. That's why I was expecting at least one of the two... Thanks Alberto On Wed, Dec 18, 2019, 22:12 David Blaikie <dblaikie at gmail.com>
2019 Mar 10
5
Help with bitcast instruction
Hi, I'm playing with the IR of pngpixel and I encountered this instruction: call void bitcast (void (%struct.png_struct_def.68*, i8*, i8* (%struct.png_struct_def.68*, i64)*, void (%struct.png_struct_def.68*, i8*)*)* @png_set_mem_fn to void (%struct.png_struct_def*, i8*, i8* (%struct.png_struct_def*, i64)*, void (%struct.png_struct_def*, i8*)*)*)(%struct.png_struct_def* %create_struct, i8*
2019 Mar 12
3
Help with bitcast instruction
Hi Tim, I'm still struggling on the instruction: call void bitcast (void (%struct.png_struct_def.68*, i8*, i8* (%struct.png_struct_def.68*, i64)*, void (%struct.png_struct_def.68*, i8*)*)* @png_set_mem_fn to void (%struct.png_struct_def*, i8*, i8* (%struct.png_struct_def*, i64)*, void (%struct.png_struct_def*, i8*)*)*)(%struct.png_struct_def* %create_struct, i8* %mem_ptr, i8*
2006 Feb 09
1
make: Target `all' not remade because of errors. (PR#8585)
Full_Name: Je Cade Version: R-2.2.1 OS: RedHat 9 Submission from: (NULL) (129.49.108.173) I followed the instructions. tar -xvf, configure, then make. I get these error messages at the end of make and with make check. ================================================================== ================================================================== In file included from rbitmap.c:45:
2019 Apr 27
2
Understand the meaning of preds = %0
Hi all, I have seen in multiple cases that, usually at the beginning of the function. if a BranchInst is encountered the next block might have %0 indicated as predecessor. I think it is a way to say "no predecessors found". Am I correct? Few examples just for clarifying what I mean: define noalias %struct.png_struct_def* @png_create_read_struct_2(i8* %user_png_ver, i8* %error_ptr, void
2019 Mar 16
2
Why getNumOperands() incorrectly returns 0?
Hi all, I have encountered a weird case that I cannot understand. Inside the visitStoreInst I have a reference (F) to the function png_set_mem_fn. If I do F->dump() i can set the IR of that function correctly e.g.: ; Function Attrs: nounwind uwtable define void @png_set_mem_fn(%struct.png_struct_def.68* noalias %png_ptr, i8* %mem_ptr, i8* (%struct.png_struct_def.68*, i64)* %malloc_fn, void
2010 Jun 05
1
rgl installation failure
Hello, I am trying to install rgl package under R and getting some errors which is below. > install.packages("rgl") Warning in install.packages("rgl") : argument 'lib' is missing: using '/usr/lib/R/library' trying URL 'http://cran.csie.ntu.edu.tw/src/contrib/rgl_0.91.tar.gz' Content type 'application/x-gzip' length 1677498 bytes (1.6 Mb)
2020 Jan 03
3
Interpreter crash due to an "Unknown constant pointer type!"
David, sorry for this email but I noticed I made a mistake in the previous one. So I managed to compile llvm Debug with asserts release. I have used the following commands: cmake -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_ENABLE_RTTI=ON -DLLVM_ENABLE_FFI=ON -DCMAKE_BUILD_TYPE=Debug -DLLVM_ENABLE_ASSERTIONS=ON .. cmake --build . -- -j8 && sudo cmake --build . --target install Once lli was
2005 Mar 07
0
gcc4 warnings
Below is a patch to get rid of several warnings which occur while building syslinux 3.07 with the current gcc 4 snapshot. This fixes all the warnings except one unused variable. Take them or leave them as you see fit. They're all com32 stuff that's pulled in from external sources. --- syslinux-3.07/memdisk/unzip.c.gcc4 2004-12-07 23:29:22.000000000 -0500 +++
2020 Feb 10
2
Interpreter crash due to an "Unknown constant pointer type!"
> > Hey Lang - does any of this look familiar to you? I'm afraid not: I know nothing about the interpreter. As far as I'm aware it's essentially abandonware. Alberto: The usual recommendation in these circumstances is to use a JIT class instead of the interpreter. You're using -force-interpreter though, so I assume you really want to use the interpreter for your use case?
2019 Dec 19
2
Interpreter crash due to an "Unknown constant pointer type!"
Hi David, Thanks for the suggestions. I can definitely provide the example bc file and image ( please see the attachments ). For the debug + asserts I need a bit of more time. Anyway the full output of lli is: lli --force-interpreter examples/pngpixel_crash.bc 0 0 examples/mini.png png_ptr->width: 1 max_pixel_depth: 24 row_bytes: 28 Unknown constant pointer type! UNREACHABLE executed at
2019 Dec 24
2
Interpreter crash due to an "Unknown constant pointer type!"
Hi David, In pretty sure that the crash is due to the instruction I have shared in my first email. In order to run pngpixel you just need libpng and zlib.. honest I thought that the .bc had Al the necessary. I'm happy to help you to reproduce it. As a curiosity, why do you think you cannot reproduce it? Unfortunately I won't be able to modify the interpreter soon.. anyway, I'll try to
2006 Feb 09
0
make: Target `all' not remade because of errors.
Hi: I don't know if it is a bug or what? I followed instructions. Jean R version: R-2.2.1 OS: Linux RedHat 9 I followed the instructions. tar -xvf, configure, then make. I get these error messages at the end of make and with make check. ================================================================== ================================================================== In file
2020 Feb 01
0
Interpreter crash due to an "Unknown constant pointer type!"
Hi Alberto, Can you please file a bug for it, with the test case attached (if you haven't already). Thanks, Ehud. On Sat, 1 Feb 2020 at 11:32 Alberto Barbaro via llvm-dev < llvm-dev at lists.llvm.org> wrote: > Hi all, > just a gentle reminder :) Is there any update on this please? > > Happy to help in any way I can > > Alberto > > Il giorno ven 3 gen 2020 alle
2007 Jan 16
3
Help upgrading to 1.1.3 (MD5 sum issues, album art corrupts files)
Hello all, I recently upgraded the libFLAC used in my application Max (http:// sbooth.org/Max/) to 1.1.3 and added preliminary support for album art. During the upgrade I evidently made some coding mistakes with interesting results. I've combed everything over and can't quite see the problems. I've become somewhat frustrated because my code didn't really change
2019 Dec 19
2
Interpreter crash due to an "Unknown constant pointer type!"
Hi all, as usual I'm playing with the Interpreter and unfortunately I hit a crash. I have narrowed down the problem an the crash happens inside the inflate function which is part of zlib and specifically at the instruction: store <2 x %struct.code*> <%struct.code* getelementptr inbounds ([512 x %struct.code], [512 x %struct.code]* @fixedtables.lenfix.681, i64 0, i64 0), %struct.code*
2007 May 16
2
RMagick Setting Quality or Compression
I am trying to dynamically set the compression or quality of an image when displaying it. I have seen in the RMagick documentation how to set the quality only when writing the file to disk. How can I set the quality dynamically or set the compression? The method "image.quality=" does not exist and "image.compression_type=" is not in the documentation. I have tried
2005 May 31
0
Installing RGL on SuSE 9.3
I am running R 2.10 on SuSE 9.3. When I tried to install the package "rgl", I got error message: ... In file included from pixmap.cpp:13: pngpixmap.h: In static member function `static void PNGPixmapFormat::Load::info_callback(png_struct*, png_info*)': pngpixmap.h:149: error: invalid conversion from `long unsigned int*' to ` png_uint_32*' pngpixmap.h:149: error:
2014 Apr 24
0
How to make optgroup with rails version 3
I am trying to set up a drop down list with a optgroup with active users. i know the following code is wrong, but would there be any way of doing this how i have it? right now if you take the raw section and just have data.collect {|a| [ a.name, a.id ] } instead, it works great for just showing the names of the users, but i want to add that optgorup. How would i go about doing that? =
2007 Jan 17
0
Help upgrading to 1.1.3 (MD5 sum issues, album art corrupts files)
--- "Stephen F. Booth" <me@sbooth.org> wrote: > Hello all, > > I recently upgraded the libFLAC used in my application Max (http:// > sbooth.org/Max/) to 1.1.3 and added preliminary support for album > art. During the upgrade I evidently made some coding mistakes with > interesting results. I've combed everything over and can't quite see > the