[llvm] Apply the `AdjustICmpImmAndPred` optimization when it results in a one-instruction immediate materialization over a two-instruction materialization. (PR #83218)
David Green via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 28 00:17:35 PST 2024
================
@@ -0,0 +1,185 @@
+; RUN: llc -mtriple=aarch64-linux-gnu -global-isel=1 < %s | FileCheck %s
----------------
davemgreen wrote:
Please use update_llc_test_checks and add run lines for both SDAG and GISel.
```
; RUN: llc -mtriple=aarch64-linux-gnu -global-isel=0 < %s | FileCheck %s --check-prefixes=CHECK,CHECK-SD
; RUN: llc -mtriple=aarch64-linux-gnu -global-isel=1 < %s | FileCheck %s --check-prefixes=CHECK,CHECK-GI
```
https://github.com/llvm/llvm-project/pull/83218
More information about the llvm-commits
mailing list