[LLVMdev] SelectionDAG legality: isel creating cycles
Anton Korobeynikov
anton at korobeynikov.info
Mon Feb 22 13:44:56 PST 2010
Hello, David
> Ah, isLegalToFold saves us on trunk. But we lose folding due to prefetching,
> which is unfortunate.
>
> I am seeing the error with 2.5 (yes, we are upgrading!).
>
> I guess I'll have to backport some of the isLogalToFold logic.
There was x86-only code at pre-2.6 times which was later moved into
generic hook named "isLegalAndProfitableToFold". You might want to
backport just that part.
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
More information about the llvm-dev
mailing list