diff options
author | Nathan Sidwell <nathan@acm.org> | 2023-12-01 14:52:38 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-01 14:52:38 -0500 |
commit | 91b2559a6a56319ef40bf93f12eccd8d0b37d964 (patch) | |
tree | 411e6db83a43f2b2454ac3ef46e95c4a98952c49 | |
parent | adc6b43ee1c4672b8aa1a0763111c1ade9e7e2bb (diff) | |
download | llvm-91b2559a6a56319ef40bf93f12eccd8d0b37d964.zip llvm-91b2559a6a56319ef40bf93f12eccd8d0b37d964.tar.gz llvm-91b2559a6a56319ef40bf93f12eccd8d0b37d964.tar.bz2 |
[nvptx] Fix autoupdater's intrinsic matcher (#73330)
Fix nvptx autoupdater's intrinsic matcher's typo'd names that used `_` (underbar), rather than '.' (dot), as a separator.
-rw-r--r-- | llvm/lib/IR/AutoUpgrade.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/lib/IR/AutoUpgrade.cpp b/llvm/lib/IR/AutoUpgrade.cpp index b494a76..9d546d3 100644 --- a/llvm/lib/IR/AutoUpgrade.cpp +++ b/llvm/lib/IR/AutoUpgrade.cpp @@ -632,12 +632,12 @@ static Intrinsic::ID ShouldUpgradeNVPTXBF16Intrinsic(StringRef Name) { return StringSwitch<Intrinsic::ID>(Name) .Case("bf16", Intrinsic::nvvm_fma_rn_bf16) .Case("bf16x2", Intrinsic::nvvm_fma_rn_bf16x2) - .Case("ftz_bf16", Intrinsic::nvvm_fma_rn_ftz_bf16) + .Case("ftz.bf16", Intrinsic::nvvm_fma_rn_ftz_bf16) .Case("ftz.bf16x2", Intrinsic::nvvm_fma_rn_ftz_bf16x2) .Case("ftz.relu.bf16", Intrinsic::nvvm_fma_rn_ftz_relu_bf16) .Case("ftz.relu.bf16x2", Intrinsic::nvvm_fma_rn_ftz_relu_bf16x2) - .Case("ftz_sat.bf16", Intrinsic::nvvm_fma_rn_ftz_sat_bf16) - .Case("ftz_sat.bf16x2", Intrinsic::nvvm_fma_rn_ftz_sat_bf16x2) + .Case("ftz.sat.bf16", Intrinsic::nvvm_fma_rn_ftz_sat_bf16) + .Case("ftz.sat.bf16x2", Intrinsic::nvvm_fma_rn_ftz_sat_bf16x2) .Case("relu.bf16", Intrinsic::nvvm_fma_rn_relu_bf16) .Case("relu.bf16x2", Intrinsic::nvvm_fma_rn_relu_bf16x2) .Case("sat.bf16", Intrinsic::nvvm_fma_rn_sat_bf16) @@ -674,8 +674,8 @@ static Intrinsic::ID ShouldUpgradeNVPTXBF16Intrinsic(StringRef Name) { .Case("bf16x2", Intrinsic::nvvm_fmin_bf16x2) .Case("ftz.bf16", Intrinsic::nvvm_fmin_ftz_bf16) .Case("ftz.bf16x2", Intrinsic::nvvm_fmin_ftz_bf16x2) - .Case("ftz.nan_bf16", Intrinsic::nvvm_fmin_ftz_nan_bf16) - .Case("ftz.nan_bf16x2", Intrinsic::nvvm_fmin_ftz_nan_bf16x2) + .Case("ftz.nan.bf16", Intrinsic::nvvm_fmin_ftz_nan_bf16) + .Case("ftz.nan.bf16x2", Intrinsic::nvvm_fmin_ftz_nan_bf16x2) .Case("ftz.nan.xorsign.abs.bf16", Intrinsic::nvvm_fmin_ftz_nan_xorsign_abs_bf16) .Case("ftz.nan.xorsign.abs.bf16x2", |