Displaying 4 results from an estimated 4 matches for "gdce".
Did you mean:
dce
2009 Mar 14
3
[LLVMdev] Strange LLVM Crash
...code snippet I use to
> register those native functions in the first post of this topic. The global
> DCE pass deletes the unused native functions when run. I commented it out
> for now...
Can you make this happen by writing a custom .ll to demonstrate the
problem? For example:
$ cat gdce.ll
define i32 @foo() {
ret i32 0
}
$ llvm-as < gdce.ll | opt -globaldce | llvm-dis
; ModuleID = '<stdin>'
define i32 @foo() {
ret i32 0
}
If it happens as you say, you should be able to create a .ll where "opt
-globaldce" will eliminat...
2009 Mar 15
0
[LLVMdev] Strange LLVM Crash
...native functions in the first post of this topic. The
>> global
>> DCE pass deletes the unused native functions when run. I commented it out
>> for now...
>
> Can you make this happen by writing a custom .ll to demonstrate the
> problem? For example:
>
> $ cat gdce.ll
> define i32 @foo() {
> ret i32 0
> }
> $ llvm-as < gdce.ll | opt -globaldce | llvm-dis
> ; ModuleID = '<stdin>'
>
> define i32 @foo() {
> ret i32 0
> }
>
> If it happens as you say, you should be able to creat...
2009 Mar 14
0
[LLVMdev] Strange LLVM Crash
The linkage type is set to external, I have little code snippet I use to
register those native functions in the first post of this topic. The global
DCE pass deletes the unused native functions when run. I commented it out
for now...
Nick Lewycky wrote:
>
> Nyx wrote:
>> Ok, well, I seem to have pinpointed the cause of the problem more
>> accurately.
>> I'm running
2009 Mar 14
2
[LLVMdev] Strange LLVM Crash
Nyx wrote:
> Ok, well, I seem to have pinpointed the cause of the problem more accurately.
> I'm running some optimization passes on my module after I compile each
> function in my scripting language (functions can be compiled at various
> times, when scripts are loaded). Now it seems these optimization passes will
> prune some of the native C++ functions I'm registering in