[PATCH] D23020: [ValueTracking] bitreverse, sin, cos are safe to speculatively execute

Marek Olšák via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 1 14:26:43 PDT 2016


mareko added a comment.

I'd also like to mark UDiv, URem, SDiv, SRem, exp2, log2, pow, and at least 14 AMDGPU intrinsics as speculatively-executable.

All of those have no side effects on AMDGPU. Right now, we are losing some performance here.


https://reviews.llvm.org/D23020





More information about the llvm-commits mailing list