This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [tree-ssa]: Loop LICM, take 2




Because we can't lift statements with unrenamed variables.


Why? Those unrenamed variables will have VUSE/VDEF operands. If they
don't, the statement will be marked as having volatile operands. Do you
have a test case that would fail without this?
I do now.
:)
I changed the test to use stmt_ann (stmt)->has_volatile_ops, and gengtype screws up.


Without the contains_unrenamed_variables test, we start hoisting calls, and doing so on one of them causes a problem.

First, are we supposed to be able to do this, or should i not hoist calls/should has_volatile_ops prevent us from doing it?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]