[PATCH] [InstCombine] Teach how to fold a select into a cttz/ctlz with the 'is_zero_undef' flag cleared.

Pete Cooper peter_cooper at apple.com
Fri Jan 9 10:05:30 PST 2015


Hi Andrea

Is this intended to replace the work in CodeGenPrepare:r225274?

If you match this to a single intrinsic call in instcombine then it would be relatively simple for SimplifyCFG to then speculate it with existing code.  Then we can remove the code from CGP?

Thanks,
Pete


http://reviews.llvm.org/D6891

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list