[llvm] Apply the `AdjustICmpImmAndPred` optimization when it results in a one-instruction immediate materialization over a two-instruction materialization. (PR #83218)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 27 21:33:47 PST 2024
================
@@ -0,0 +1,185 @@
+; RUN: llc -mtriple=aarch64-linux-gnu -global-isel=1 < %s | FileCheck %s
+
+; CHECK-NOT: movk
----------------
arsenm wrote:
positive checks are better
https://github.com/llvm/llvm-project/pull/83218
More information about the llvm-commits
mailing list