[llvm] 067aab0 - [LoongArch] Fix annotations not matching predicates. NFC.
via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 5 18:21:39 PDT 2022
Author: gonglingqin
Date: 2022-09-06T09:14:20+08:00
New Revision: 067aab0a854634fef80958aede1e27abd8d244c0
URL: https://github.com/llvm/llvm-project/commit/067aab0a854634fef80958aede1e27abd8d244c0
DIFF: https://github.com/llvm/llvm-project/commit/067aab0a854634fef80958aede1e27abd8d244c0.diff
LOG: [LoongArch] Fix annotations not matching predicates. NFC.
Added:
Modified:
llvm/lib/Target/LoongArch/LoongArchFloat32InstrInfo.td
Removed:
################################################################################
diff --git a/llvm/lib/Target/LoongArch/LoongArchFloat32InstrInfo.td b/llvm/lib/Target/LoongArch/LoongArchFloat32InstrInfo.td
index 5286b4abceb1..1a5034b30fd0 100644
--- a/llvm/lib/Target/LoongArch/LoongArchFloat32InstrInfo.td
+++ b/llvm/lib/Target/LoongArch/LoongArchFloat32InstrInfo.td
@@ -256,4 +256,4 @@ def : Pat<(bitconvert (i32 GPR:$src)), (MOVGR2FR_W GPR:$src)>;
def : Pat<(i32 (bitconvert FPR32:$src)), (MOVFR2GR_S FPR32:$src)>;
// int -> f32
def : Pat<(f32 (sint_to_fp (i32 GPR:$src))), (FFINT_S_W (MOVGR2FR_W GPR:$src))>;
-} // Predicates = [HasBasicF, IsLA64]
+} // Predicates = [HasBasicF, IsLA32]
More information about the llvm-commits
mailing list