[PATCH] D19518: Add optimization bisect opt-in calls for NVPTX passes
Andy Kaylor via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 26 11:48:34 PDT 2016
andrew.w.kaylor added a comment.
In http://reviews.llvm.org/D19518#412434, @jingyue wrote:
> Oh, I see what you mean now.
>
> So NVPTXPeephole should be guarded by `CodeGenOpt::None` and thus is safe to skip.
The optnone-llc.ll test verifies that nothing is skipped which is run at -O0, so as long as this pass is being run at -O0 we can't add the call to skip it for "optnone" functions and bisection. If the target machine code were updated to skip the peephole pass at -O0 then the skip check could be added.
Repository:
rL LLVM
http://reviews.llvm.org/D19518
More information about the llvm-commits
mailing list