kecheng at cecs.pdx.edu
2011-May-21 05:37 UTC
[LLVMdev] How to determine if a variable has been discarded
Hi all, When I check the ll code, I found sometimes an operation has one or more "undef" operands. Does that means this operations has been discarded? What I want to check is how to determine which variables have been discarded. If I decide to discard everything that is transitively related to an undef then is that correct? If I implement that algorithm, is there a discard I'll be missing? Thanks. Best, Kecheng
Samuel Crow
2011-May-21 10:36 UTC
[LLVMdev] How to determine if a variable has been discarded
Hi Kecheng, Undef means that there hasn't been a value assigned to a variable. If you're expecting to have initialized values for your variables, you have to specify that. --Sam>________________________________ >From: "kecheng at cecs.pdx.edu" <kecheng at cecs.pdx.edu> >To: llvmdev at cs.uiuc.edu >Sent: Saturday, May 21, 2011 12:37 AM >Subject: [LLVMdev] How to determine if a variable has been discarded > >Hi all, > >When I check the ll code, I found sometimes an operation has one or >more "undef" operands. Does that means this operations has been >discarded? What I want to check is how to determine which variables >have been discarded. If I decide to discard everything that is >transitively related to an undef then is that correct? If I implement >that algorithm, is there a discard I'll be missing? Thanks. > >Best, > >Kecheng > > >_______________________________________________ >LLVM Developers mailing list >LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu >http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > > >
Apparently Analagous Threads
- [LLVMdev] How to disable pass grouping(scheduling)
- [LLVMdev] How to get the variable mapping between the sourceandllvm bytecode
- [LLVMdev] How to get the variable mapping between the source andllvm bytecode
- [LLVMdev] How to disable pass grouping(scheduling)
- [LLVMdev] How to get the variable mapping between the source and llvm bytecode