[llvm] [Mips] Optimize `or (and $src1, mask0), (shl $src2, mask1)` to `ins` (PR #103017)

YunQiang Su via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 2 15:35:12 PDT 2024


================
@@ -0,0 +1,39 @@
+; RUN: llc -O3 -mcpu=mips64r2 -mtriple=mips64el-unknown-linux-gnuabi64 < %s -o - | FileCheck %s
----------------
wzssyqa wrote:

Since you are testing `INS ` , mips64 is not required. Please use a mips32 triple.

https://github.com/llvm/llvm-project/pull/103017


More information about the llvm-commits mailing list