[llvm-branch-commits] mimplid->mimpid (PR #116745)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Nov 18 21:53:35 PST 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang
Author: Pengcheng Wang (wangpc-pp)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/116745.diff
1 Files Affected:
- (modified) clang/lib/CodeGen/CGBuiltin.cpp (+3-3)
``````````diff
diff --git a/clang/lib/CodeGen/CGBuiltin.cpp b/clang/lib/CodeGen/CGBuiltin.cpp
index 24f6209af7afe4..84626f023ec3c1 100644
--- a/clang/lib/CodeGen/CGBuiltin.cpp
+++ b/clang/lib/CodeGen/CGBuiltin.cpp
@@ -22539,10 +22539,10 @@ Value *CodeGenFunction::EmitRISCVCpuIs(StringRef CPUStr) {
Result = Builder.CreateAnd(
Result, Builder.CreateICmpEQ(ArchID, Builder.getInt64(CPUModel.MArchID)));
- // Compare mimplid.
- Value *ImplID = loadRISCVCPUID(2);
+ // Compare mimpid.
+ Value *ImpID = loadRISCVCPUID(2);
Result = Builder.CreateAnd(
- Result, Builder.CreateICmpEQ(ImplID, Builder.getInt64(CPUModel.MImpID)));
+ Result, Builder.CreateICmpEQ(ImpID, Builder.getInt64(CPUModel.MImpID)));
return Result;
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/116745
More information about the llvm-branch-commits
mailing list