[LLVMdev] constantexpr problem
tsingrayliu at gmail.com
Fri Sep 23 07:27:17 PDT 2011
I have got a problem when I used the use_empty() member function while I
used a global variable. I erase all the instructions which will use a global
variable. Then I called the use_empty() on that global variable. I got no
empty because a constantexpr use the global variable. I wonder whether there
is any way to erase the constantexpr which is useless to me but occupying
the global variable.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev