This is the mail archive of the gcc@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: PRE (sometimes) confuses ivopts/scev?



If you remove the test and replace it with 1, it'll never PRE anything.


IE the whole test :)

You surely can do better than the is_gimple_min_invariant test.
Originally, i had it using SCEV + simple_iv, but this was a bit too expensive.


You might be able to get away with removing that part of the test, however.




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