Displaying 14 results from an estimated 14 matches for "return0".
Did you mean:
return
2015 Apr 12
2
[LLVMdev] Looking for advice on how to debug a problem with C++ style exception handling code that my compiler generates.
...works fine!
>
> If I call the function (@cc_invoke) that throws a “core::CatchThrow”
> exception like this:
>
> call void @cc_invoke({ {}*, i64 }* %result-ptr, {}* %3, i64 2, {}* %4, {}* %5, {}* null, {}* null, {}* null)
> ;; Comment out the next two lines and
> ; to label %return0 unwind label %landing-pad1
> ;return0:
> ret void
>
> landing-pad1: ; No predecessors!
> %6 = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0
> cleanup
> resume { i8*, i32 } %6
> }
>
>
> It fails...
2015 Apr 09
2
[LLVMdev] Looking for advice on how to debug a problem with C++ style exception handling code that my compiler generates.
Hi Christian,
Andy's already covered the major points, but you could consider filing a
bug at http://llvm.org/bugs too, especially if you've got a small test-case
that demonstrates the issue. Exception handling hasn't been a priority in
the past, but as more people adopt LLVM's JIT APIs I suspect it will get
more attention, and bug reports will help us figure out what needs doing.
2015 Apr 12
2
[LLVMdev] Looking for advice on how to debug a problem with C++ style exception handling code that my compiler generates.
...; If I call the function (@cc_invoke) that throws a “core::CatchThrow”
>> exception like this:
>>
>> call void @cc_invoke({ {}*, i64 }* %result-ptr, {}* %3, i64 2, {}* %4, {}* %5, {}* null, {}* null, {}* null)
>> ;; Comment out the next two lines and
>> ; to label %return0 unwind label %landing-pad1
>> ;return0:
>> ret void
>>
>> landing-pad1: ; No predecessors!
>> %6 = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0
>> cleanup
>> resume { i8*, i32 } %6
&g...
2015 Apr 12
2
[LLVMdev] Looking for advice on how to debug a problem with C++ style exception handling code that my compiler generates.
...> If I call the function (@cc_invoke) that throws a “core::CatchThrow” exception like this:
>>> call void @cc_invoke({ {}*, i64 }* %result-ptr, {}* %3, i64 2, {}* %4, {}* %5, {}* null, {}* null, {}* null)
>>> ;; Comment out the next two lines and
>>> ; to label %return0 unwind label %landing-pad1
>>> ;return0:
>>> ret void
>>>
>>> landing-pad1: ; No predecessors!
>>> %6 = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0
>>> cleanup
>>&g...
2015 Apr 12
2
[LLVMdev] Looking for advice on how to debug a problem with C++ style exception handling code that my compiler generates.
...tion (@cc_invoke) that throws a “core::CatchThrow” exception like this:
>>>>> call void @cc_invoke({ {}*, i64 }* %result-ptr, {}* %3, i64 2, {}* %4, {}* %5, {}* null, {}* null, {}* null)
>>>>> ;; Comment out the next two lines and
>>>>> ; to label %return0 unwind label %landing-pad1
>>>>> ;return0:
>>>>> ret void
>>>>>
>>>>> landing-pad1: ; No predecessors!
>>>>> %6 = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0
&...
2015 Apr 12
2
[LLVMdev] Looking for advice on how to debug a problem with C++ style exception handling code that my compiler generates.
...voke) that throws a “core::CatchThrow” exception like this:
>>>>>> call void @cc_invoke({ {}*, i64 }* %result-ptr, {}* %3, i64 2, {}* %4, {}* %5, {}* null, {}* null, {}* null)
>>>>>> ;; Comment out the next two lines and
>>>>>> ; to label %return0 unwind label %landing-pad1
>>>>>> ;return0:
>>>>>> ret void
>>>>>>
>>>>>> landing-pad1: ; No predecessors!
>>>>>> %6 = landingpad { i8*, i32 } personality i32 (...)* @__...
2016 Jun 24
2
creating Intrinsic DAG Node
The intrinsic ID is an int, not a float.
—escha
> On Jun 24, 2016, at 7:49 AM, Ryan Taylor via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> given the following C code:
>
> float b=16, a=0;
> int main() {
> float a = sqrt(b);
> return0;
> }
>
> I'm trying to lower FSQRT down, but getting a casting issue, my code is:
>
> SDValue XXXLowering::LowerFSQRT(SDValue Op, SelectionDAG &DAG) const {
> SDLoc DL(Op);
> EVT VT = Op.getValueType();
> SDValue LHS = Op.getOperand(0);
>
> SDVal...
2016 Jun 24
3
creating Intrinsic DAG Node
...oat.
>>
>> —escha
>>
>> On Jun 24, 2016, at 7:49 AM, Ryan Taylor via llvm-dev <
>> llvm-dev at lists.llvm.org> wrote:
>>
>> given the following C code:
>>
>> float b=16, a=0;
>> int main() {
>> float a = sqrt(b);
>> return0;
>> }
>>
>> I'm trying to lower FSQRT down, but getting a casting issue, my code is:
>>
>> SDValue XXXLowering::LowerFSQRT(SDValue Op, SelectionDAG &DAG) const {
>> SDLoc DL(Op);
>> EVT VT = Op.getValueType();
>> SDValue LHS = Op.getO...
2016 Feb 02
2
creating Intrinsic DAG Node
Matt,
The added intrinsic in DAG looks like:
0xbedb698: i32 = llvm.MyIntrinsic 0xbedb200, 0xbedac18 [ORD=4]
The builtin in DAG looks like:
0xbedb2a8: i32,ch = llvm 0xbedb158:1, 0xbedb200, 0xbedb158 [ORD=7] [ID=16]
The only difference I'm seeing is the extra operand, which is a 'ch'
from a load.
On Tue, Feb 2, 2016 at 3:55 PM, Matt Arsenault <arsenm2 at gmail.com>
2018 Feb 24
1
Parsing a bit code file
I am trying to parse LLVM IR from a bit code file. I went through the
following steps.
hello.cpp
#include <iostream>
int main() {
std::cout << "Hello world!" << "\n";
return 0;}
dump.cpp
#include <llvm/IR/Module.h>#include <llvm/IRReader/IRReader.h>#include
<llvm/IR/LLVMContext.h>#include <llvm/Support/SourceMgr.h>
using
2015 Jul 18
2
[LLVMdev] [Clang] [lld] [llvm-link] Whole program / dead-code optimization
Thanks Nick. I've been pursuing Gao's technique but can't seem to get opt
to remove obviously dead code from even the following trivial example:
int mult(int a, int b){
return a*b;
}
int main(void){
return 0;
}
While mult is never called it still is not removed. I just can't seem to
get opt to understand it's seeing the whole program so it can remove this
2007 Aug 24
0
MYSQL problem and configuration
...0]); $agi[$name]=trim($s[1]);}return $agi;}function checkresult($res){ trim($res); if(preg_match('/^200/',$res)) { if(!preg_match('/result=(-?\d+)/',$res,$matches)) { fwrite(STDERR,"FAIL ($res)\n"); fflush(STDERR); return0; } else { fwrite(STDERR,"PASS (".$matches[1].")\n"); fflush(STDERR); return $matches[1]; } } else { fwrite(STDERR,"FAIL (unexpected result '$res')\n"); fflush(STDERR); return -1; }}$agiva...
2018 Aug 21
4
different output with fast-math flag
This is of course not homework. I am trying to understand how fast math
optimizations work in llvm. When I compared IR for both the programs, the
only thing I have noticed is that fdiv and fmul are replaced with fdiv fast
and fmul fast. Not sure what happens in fdiv fast and fmul fast.
I feel that its because d/max is really small number and fast-math does not
care about small numbers and consider
2002 May 23
0
protocol errors when using --dryrun
Hi there,
I've had a look on the web, and in the archives, but I dont see any mention
to this problem/feature. Essentially, I have a local mirror, and a live
webserver, with a little script that will execute a --dryrun rsync, ask the
user for confirmation, then go ahead and transfer the local updates to the
live server.
The problem Im having is when Im sync'ing newly generated