[LLVMdev] How to know if an instruction is "usable"
Krzysztof Parzyszek
kparzysz at codeaurora.org
Thu Apr 25 10:29:57 PDT 2013
On 4/25/2013 12:21 PM, Giacomo Tagliabue wrote:
> Thanks! I checked that module. If I use dominates(const Instruction
> *Def,const Instruction *User) it will automatically check everything, so
> I don't have to handle the case with instructions in the same BB, right?
Sounds like it should, but I've never used it. You can always check how
it's defined.
-Krzysztof
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation
More information about the llvm-dev
mailing list