[llvm] [InstCombine]PtrReplacer: Correctly handle select with unavailable operands (PR #148829)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 15 04:58:43 PDT 2025


================
@@ -0,0 +1,20 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
+; RUN: opt -mtriple=amdgcn-amd-amdhsa -passes=instcombine %s -S -o - | FileCheck %s
----------------
arsenm wrote:

```suggestion
; RUN: opt -S -mtriple=amdgcn-amd-amdhsa -passes=instcombine < %s  | FileCheck %s
```

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


More information about the llvm-commits mailing list