[llvm] [NVPTX] Improve support for rsqrt.approx (PR #89417)
Artem Belevich via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 19 13:44:12 PDT 2024
================
@@ -30,6 +30,10 @@ using namespace llvm;
#define DEBUG_TYPE "nvptx-isel"
#define PASS_NAME "NVPTX DAG->DAG Pattern Instruction Selection"
+static cl::opt<bool>
+ DisableRsqrtOpt("nvptx-disable-rsqrt-opt", cl::init(false), cl::Hidden,
----------------
Artem-B wrote:
Given that it's a hidden option, I don't have particularly strong feelings about the name. `-nvptx-rsqrt-approx-opt` works for me.
https://github.com/llvm/llvm-project/pull/89417
More information about the llvm-commits
mailing list