[llvm] [ValueTracking] Extend computeConstantRange for add/sub, sext/zext/trunc (PR #181110)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 12 02:45:34 PST 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 130791 tests passed
* 2932 tests skipped
* 18 tests failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.CodeGen/isfpclass.c</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\23\include -nostdsysteminc -triple aarch64-linux-gnu -O1 -emit-llvm C:\_work\llvm-project\llvm-project\clang\test\CodeGen\isfpclass.c -o - | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\clang\test\CodeGen\isfpclass.c
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\23\include' -nostdsysteminc -triple aarch64-linux-gnu -O1 -emit-llvm 'C:\_work\llvm-project\llvm-project\clang\test\CodeGen\isfpclass.c' -o -
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\clang\test\CodeGen\isfpclass.c'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\clang\test\CodeGen\isfpclass.c:139:17: error: CHECK-LABEL: expected string not found in input
# | // CHECK-LABEL: define dso_local range(i32 0, 2) <4 x i32> @check_isfpclass_nan_v4f32(
# | ^
# | <stdin>:94:45: note: scanning from here
# | define dso_local noundef i1 @check_isnormal(float noundef %x) local_unnamed_addr #2 {
# | ^
# | <stdin>:101:1: note: possible intended match here
# | define dso_local noundef range(i32 0, 2) <4 x i32> @check_isfpclass_nan_v4f32(<4 x float> noundef %x) local_unnamed_addr #0 {
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\clang\test\CodeGen\isfpclass.c
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 89: %0 = tail call i1 @llvm.is.fpclass.f32(float %x, i32 504) #5
# | 90: ret i1 %0
# | 91: }
# | 92:
# | 93: ; Function Attrs: mustprogress nofree norecurse nosync nounwind strictfp willreturn memory(none)
# | 94: define dso_local noundef i1 @check_isnormal(float noundef %x) local_unnamed_addr #2 {
# | label:139'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 95: entry:
# | label:139'0 ~~~~~~~
# | 96: %0 = tail call i1 @llvm.is.fpclass.f32(float %x, i32 264) #5
# | label:139'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 97: ret i1 %0
# | label:139'0 ~~~~~~~~~~~
# | 98: }
# | label:139'0 ~~
# | 99:
# | label:139'0 ~
# | 100: ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none)
# | label:139'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 101: define dso_local noundef range(i32 0, 2) <4 x i32> @check_isfpclass_nan_v4f32(<4 x float> noundef %x) local_unnamed_addr #0 {
# | label:139'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | label:139'1 ? possible intended match
# | 102: entry:
# | label:139'0 ~~~~~~~
# | 103: %0 = fcmp uno <4 x float> %x, zeroinitializer
# | label:139'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 104: %1 = zext <4 x i1> %0 to <4 x i32>
# | label:139'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 105: ret <4 x i32> %1
# | label:139'0 ~~~~~~~~~~~~~~~~~~
# | 106: }
# | label:139'0 ~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.Headers/__clang_hip_math.hip</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 6
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\23\include -nostdsysteminc -include __clang_hip_runtime_wrapper.h -internal-isystem C:\_work\llvm-project\llvm-project\clang\test\Headers/../../lib/Headers/cuda_wrappers -internal-isystem C:\_work\llvm-project\llvm-project\clang\test\Headers/Inputs/include -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-unknown -target-cpu gfx906 -emit-llvm C:\_work\llvm-project\llvm-project\clang\test\Headers\__clang_hip_math.hip -fcuda-is-device -O1 -o - -D__HIPCC_RTC__ | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefixes=CHECK,DEFAULT C:\_work\llvm-project\llvm-project\clang\test\Headers\__clang_hip_math.hip
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\23\include' -nostdsysteminc -include __clang_hip_runtime_wrapper.h -internal-isystem 'C:\_work\llvm-project\llvm-project\clang\test\Headers/../../lib/Headers/cuda_wrappers' -internal-isystem 'C:\_work\llvm-project\llvm-project\clang\test\Headers/Inputs/include' -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-unknown -target-cpu gfx906 -emit-llvm 'C:\_work\llvm-project\llvm-project\clang\test\Headers\__clang_hip_math.hip' -fcuda-is-device -O1 -o - -D__HIPCC_RTC__
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefixes=CHECK,DEFAULT 'C:\_work\llvm-project\llvm-project\clang\test\Headers\__clang_hip_math.hip'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\clang\test\Headers\__clang_hip_math.hip:2656:19: error: DEFAULT-LABEL: expected string not found in input
# | // DEFAULT-LABEL: define dso_local range(i32 0, 2) i32 @test___finitef(
# | ^
# | <stdin>:693:42: note: scanning from here
# | define dso_local noundef i32 @test_ilogb(double noundef %x) local_unnamed_addr #4 {
# | ^
# | <stdin>:700:1: note: possible intended match here
# | define dso_local noundef range(i32 0, 2) i32 @test___finitef(float noundef %x) local_unnamed_addr #3 {
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\clang\test\Headers\__clang_hip_math.hip
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 688: %call.i = tail call noundef i32 @__ocml_ilogb_f32(float noundef %x) #13
# | 689: ret i32 %call.i
# | 690: }
# | 691:
# | 692: ; Function Attrs: convergent mustprogress nofree nounwind willreturn memory(none)
# | 693: define dso_local noundef i32 @test_ilogb(double noundef %x) local_unnamed_addr #4 {
# | label:2656'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 694: entry:
# | label:2656'0 ~~~~~~~
# | 695: %call.i = tail call noundef i32 @__ocml_ilogb_f64(double noundef %x) #13
# | label:2656'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 696: ret i32 %call.i
# | label:2656'0 ~~~~~~~~~~~~~~~~~
# | 697: }
# | label:2656'0 ~~
# | 698:
# | label:2656'0 ~
# | 699: ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none)
# | label:2656'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 700: define dso_local noundef range(i32 0, 2) i32 @test___finitef(float noundef %x) local_unnamed_addr #3 {
# | label:2656'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | label:2656'1 ? possible intended match
# | 701: entry:
# | label:2656'0 ~~~~~~~
# | 702: %0 = tail call float @llvm.fabs.f32(float %x)
# | label:2656'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 703: %1 = fcmp one float %0, 0x7FF0000000000000
# | label:2656'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 704: %conv = zext i1 %1 to i32
# | label:2656'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 705: ret i32 %conv
# | label:2656'0 ~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.Headers/wasm.c</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 6
c:\_work\llvm-project\llvm-project\build\bin\clang.exe C:\_work\llvm-project\llvm-project\clang\test\Headers\wasm.c -O2 -emit-llvm -S -o - -target wasm32-unknown-unknown -msimd128 -Wall -Weverything -Wno-missing-prototypes -fno-lax-vector-conversions -Werror | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\clang\test\Headers\wasm.c
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' 'C:\_work\llvm-project\llvm-project\clang\test\Headers\wasm.c' -O2 -emit-llvm -S -o - -target wasm32-unknown-unknown -msimd128 -Wall -Weverything -Wno-missing-prototypes -fno-lax-vector-conversions -Werror
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\clang\test\Headers\wasm.c'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\clang\test\Headers\wasm.c:1237:17: error: CHECK-LABEL: expected string not found in input
# | // CHECK-LABEL: define hidden range(i32 -1, 1) <4 x i32> @test_i32x4_eq(
# | ^
# | <stdin>:917:48: note: scanning from here
# | define hidden noundef <4 x i32> @test_u16x8_ge(<4 x i32> noundef %a, <4 x i32> noundef %b) local_unnamed_addr #2 {
# | ^
# | <stdin>:928:9: note: possible intended match here
# | define hidden noundef range(i32 -1, 1) <4 x i32> @test_i32x4_eq(<4 x i32> noundef %a, <4 x i32> noundef %b) local_unnamed_addr #2 {
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\clang\test\Headers\wasm.c
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 912: %2 = bitcast <8 x i16> %sext.i to <4 x i32>
# | 913: ret <4 x i32> %2
# | 914: }
# | 915:
# | 916: ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none)
# | 917: define hidden noundef <4 x i32> @test_u16x8_ge(<4 x i32> noundef %a, <4 x i32> noundef %b) local_unnamed_addr #2 {
# | label:1237'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 918: entry:
# | label:1237'0 ~~~~~~~
# | 919: %0 = bitcast <4 x i32> %a to <8 x i16>
# | label:1237'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 920: %1 = bitcast <4 x i32> %b to <8 x i16>
# | label:1237'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 921: %cmp.i = icmp uge <8 x i16> %0, %1
# | label:1237'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 922: %sext.i = sext <8 x i1> %cmp.i to <8 x i16>
# | label:1237'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 923: %2 = bitcast <8 x i16> %sext.i to <4 x i32>
# | label:1237'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 924: ret <4 x i32> %2
# | label:1237'0 ~~~~~~~~~~~~~~~~~~
# | 925: }
# | label:1237'0 ~~
# | 926:
# | label:1237'0 ~
# | 927: ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none)
# | label:1237'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 928: define hidden noundef range(i32 -1, 1) <4 x i32> @test_i32x4_eq(<4 x i32> noundef %a, <4 x i32> noundef %b) local_unnamed_addr #2 {
# | label:1237'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | label:1237'1 ? possible intended match
# | 929: entry:
# | label:1237'0 ~~~~~~~
# | 930: %cmp.i = icmp eq <4 x i32> %a, %b
# | label:1237'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 931: %sext.i = sext <4 x i1> %cmp.i to <4 x i32>
# | label:1237'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 932: ret <4 x i32> %sext.i
# | label:1237'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | 933: }
# | label:1237'0 ~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
### LLVM
<details>
<summary>LLVM.CodeGen/AMDGPU/div_v2i128.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -global-isel=0 -mtriple=amdgcn-amd-amdhsa -o - C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\div_v2i128.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefix=SDAG C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\div_v2i128.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -global-isel=0 -mtriple=amdgcn-amd-amdhsa -o - 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\div_v2i128.ll'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefix=SDAG 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\div_v2i128.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\div_v2i128.ll:860:14: error: SDAG-NEXT: expected string not found in input
# | ; SDAG-NEXT: v_xor_b32_e32 v0, 0x7f, v2
# | ^
# | <stdin>:474:36: note: scanning from here
# | v_subb_u32_e32 v3, vcc, 0, v3, vcc
# | ^
# | <stdin>:559:2: note: possible intended match here
# | v_or_b32_e32 v0, v0, v2
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\div_v2i128.ll:2251:14: error: SDAG-NEXT: expected string not found in input
# | ; SDAG-NEXT: v_xor_b32_e32 v2, 0x7f, v12
# | ^
# | <stdin>:1193:38: note: scanning from here
# | v_subb_u32_e32 v13, vcc, 0, v10, vcc
# | ^
# | <stdin>:1283:2: note: possible intended match here
# | v_or_b32_e32 v2, v2, v12
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\div_v2i128.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 469: v_addc_u32_e64 v2, s[8:9], 0, 0, vcc
# | 470: v_cmp_ne_u64_e32 vcc, 0, v[10:11]
# | 471: v_cndmask_b32_e64 v3, v2, 0, vcc
# | 472: v_cndmask_b32_e32 v0, v1, v0, vcc
# | 473: v_sub_i32_e32 v2, vcc, 0x5e, v0
# | 474: v_subb_u32_e32 v3, vcc, 0, v3, vcc
# | next:860'0 X error: no match found
# | 475: v_subb_u32_e32 v8, vcc, 0, v9, vcc
# | next:860'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 476: v_cmp_lt_u64_e64 s[6:7], s[6:7], v[2:3]
# | next:860'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 477: v_cndmask_b32_e64 v0, 0, 1, s[6:7]
# | next:860'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 478: v_subb_u32_e32 v9, vcc, 0, v9, vcc
# | next:860'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 479: v_cmp_ne_u64_e32 vcc, 0, v[8:9]
# | next:860'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 554: v_lshl_b64 v[0:1], v[0:1], 1
# | next:860'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 555: v_or_b32_e32 v9, v17, v9
# | next:860'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 556: v_or_b32_e32 v8, v16, v8
# | next:860'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 557: v_or_b32_e32 v14, v14, v24
# | next:860'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 558: v_or_b32_e32 v12, v12, v25
# | next:860'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 559: v_or_b32_e32 v0, v0, v2
# | next:860'0 ~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:860'1 ? possible intended match
# | 560: v_sub_i32_e32 v2, vcc, -1, v12
# | next:860'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 561: v_subb_u32_e32 v2, vcc, 1, v13, vcc
# | next:860'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 562: v_subb_u32_e32 v2, vcc, 0, v14, vcc
# | next:860'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 563: v_subb_u32_e32 v2, vcc, 0, v15, vcc
# | next:860'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 564: v_ashrrev_i32_e32 v2, 31, v2
# | next:860'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 1188: v_addc_u32_e64 v10, s[8:9], 0, 0, vcc
# | 1189: v_cmp_ne_u64_e32 vcc, 0, v[8:9]
# | 1190: v_cndmask_b32_e64 v10, v10, 0, vcc
# | 1191: v_cndmask_b32_e32 v2, v3, v2, vcc
# | 1192: v_sub_i32_e32 v12, vcc, 0x5e, v2
# | 1193: v_subb_u32_e32 v13, vcc, 0, v10, vcc
# | next:2251'0 X error: no match found
# | 1194: v_subb_u32_e32 v14, vcc, 0, v15, vcc
# | next:2251'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1195: v_cmp_lt_u64_e64 s[6:7], s[6:7], v[12:13]
# | next:2251'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1196: v_cndmask_b32_e64 v2, 0, 1, s[6:7]
# | next:2251'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1197: v_subb_u32_e32 v15, vcc, 0, v15, vcc
# | next:2251'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1198: v_cmp_ne_u64_e32 vcc, 0, v[14:15]
# | next:2251'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 1278: v_subrev_i32_e32 v14, vcc, 0, v12
# | next:2251'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1279: v_and_b32_e32 v12, 2, v22
# | next:2251'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1280: v_subb_u32_e32 v15, vcc, v15, v12, vcc
# | next:2251'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1281: v_lshl_b64 v[2:3], v[2:3], 1
# | next:2251'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1282: v_lshrrev_b32_e32 v12, 31, v11
# | next:2251'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1283: v_or_b32_e32 v2, v2, v12
# | next:2251'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:2251'1 ? possible intended match
# | 1284: v_or_b32_e32 v3, v1, v3
# | next:2251'0 ~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1285: v_or_b32_e32 v2, v0, v2
# | next:2251'0 ~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1286: v_lshl_b64 v[10:11], v[10:11], 1
# | next:2251'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1287: v_and_b32_e32 v12, 1, v22
# | next:2251'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1288: v_subbrev_u32_e32 v16, vcc, 0, v16, vcc
# | next:2251'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/sdiv64.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn -mcpu=gfx600 -amdgpu-bypass-slow-div=0 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\sdiv64.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefix=GCN C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\sdiv64.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mcpu=gfx600 -amdgpu-bypass-slow-div=0
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefix=GCN 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\sdiv64.ll'
# note: command had no output on stdout or stderr
# RUN: at line 3
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn -mcpu=gfx600 -amdgpu-bypass-slow-div=0 -amdgpu-codegenprepare-expand-div64 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\sdiv64.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefix=GCN-IR C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\sdiv64.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mcpu=gfx600 -amdgpu-bypass-slow-div=0 -amdgpu-codegenprepare-expand-div64
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefix=GCN-IR 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\sdiv64.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\sdiv64.ll:1278:16: error: GCN-IR-NEXT: expected string not found in input
# | ; GCN-IR-NEXT: v_cmp_eq_u64_e64 s[14:15], s[10:11], 63
# | ^
# | <stdin>:980:41: note: scanning from here
# | v_cmp_gt_u64_e64 s[12:13], s[10:11], 63
# | ^
# | <stdin>:1006:2: note: possible intended match here
# | s_lshl_b64 s[12:13], s[12:13], 1
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\sdiv64.ll:1465:16: error: GCN-IR-NEXT: expected string not found in input
# | ; GCN-IR-NEXT: v_cmp_ne_u64_e64 s[6:7], 63, v[2:3]
# | ^
# | <stdin>:1104:34: note: scanning from here
# | v_cmp_lt_u64_e32 vcc, 63, v[2:3]
# | ^
# | <stdin>:1115:2: note: possible intended match here
# | v_sub_i32_e64 v2, s[4:5], 63, v2
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\sdiv64.ll:1656:16: error: GCN-IR-NEXT: expected string not found in input
# | ; GCN-IR-NEXT: v_cmp_ne_u64_e64 s[6:7], 63, v[2:3]
# | ^
# | <stdin>:1220:34: note: scanning from here
# | v_cmp_lt_u64_e32 vcc, 63, v[2:3]
# | ^
# | <stdin>:1232:2: note: possible intended match here
# | v_sub_i32_e64 v2, s[4:5], 63, v2
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\sdiv64.ll:1758:16: error: GCN-IR-NEXT: expected string not found in input
# | ; GCN-IR-NEXT: v_cmp_ne_u64_e32 vcc, 63, v[0:1]
# | ^
# | <stdin>:1340:30: note: scanning from here
# | s_or_b64 s[4:5], vcc, s[4:5]
# | ^
# | <stdin>:1393:2: note: possible intended match here
# | v_or_b32_e32 v3, v3, v1
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\sdiv64.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 975: s_subb_u32 s3, s3, s4
# | 976: s_flbit_i32_b64 s16, s[2:3]
# | 977: s_add_u32 s10, s16, 0xffffffc5
# | 978: s_addc_u32 s11, 0, -1
# | 979: v_cmp_eq_u64_e64 s[8:9], s[2:3], 0
# | 980: v_cmp_gt_u64_e64 s[12:13], s[10:11], 63
# | next:1278'0 X error: no match found
# | 981: s_or_b64 s[8:9], s[8:9], s[12:13]
# | next:1278'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 982: v_cndmask_b32_e64 v0, 0, 1, s[8:9]
# | next:1278'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 983: s_and_b64 s[8:9], s[8:9], exec
# | next:1278'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 984: v_cmp_ne_u32_e32 vcc, 1, v0
# | next:1278'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 985: s_cselect_b32 s8, 0, 24
# | next:1278'0 ~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 1001: s_subb_u32 s17, 0, 0
# | next:1278'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 1002: s_mov_b64 s[10:11], 0
# | next:1278'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | 1003: s_mov_b32 s7, 0
# | next:1278'0 ~~~~~~~~~~~~~~~~~
# | 1004: .LBB10_3: ; %udiv-do-while
# | next:1278'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1005: ; =>This Inner Loop Header: Depth=1
# | next:1278'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1006: s_lshl_b64 s[12:13], s[12:13], 1
# | next:1278'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1278'1 ? possible intended match
# | 1007: s_lshr_b32 s6, s9, 31
# | next:1278'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | 1008: s_lshl_b64 s[8:9], s[8:9], 1
# | next:1278'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1009: s_or_b64 s[12:13], s[12:13], s[6:7]
# | next:1278'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1010: s_or_b64 s[8:9], s[10:11], s[8:9]
# | next:1278'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1011: s_sub_u32 s6, s14, s12
# | next:1278'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 1099: v_ffbh_u32_e32 v3, v1
# | 1100: v_min_u32_e32 v8, v2, v3
# | 1101: v_add_i32_e32 v2, vcc, 0xffffffc5, v8
# | 1102: v_addc_u32_e64 v3, s[6:7], 0, -1, vcc
# | 1103: v_cmp_eq_u64_e64 s[4:5], 0, v[0:1]
# | 1104: v_cmp_lt_u64_e32 vcc, 63, v[2:3]
# | next:1465'0 X error: no match found
# | 1105: v_mov_b32_e32 v11, v10
# | next:1465'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | 1106: s_or_b64 s[4:5], s[4:5], vcc
# | next:1465'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1107: v_mov_b32_e32 v5, 0
# | next:1465'0 ~~~~~~~~~~~~~~~~~~~~~
# | 1108: v_cndmask_b32_e64 v4, 24, 0, s[4:5]
# | next:1465'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1109: s_xor_b64 s[4:5], s[4:5], -1
# | next:1465'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1110: s_and_saveexec_b64 s[6:7], s[4:5]
# | next:1465'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1111: s_cbranch_execz .LBB11_6
# | next:1465'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1112: ; %bb.1: ; %udiv-bb1
# | next:1465'0 ~~~~~~~~~~~~~~~~~~~~~
# | 1113: v_add_i32_e32 v6, vcc, 1, v2
# | next:1465'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1114: v_addc_u32_e32 v3, vcc, 0, v3, vcc
# | next:1465'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1115: v_sub_i32_e64 v2, s[4:5], 63, v2
# | next:1465'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1465'1 ? possible intended match
# | 1116: v_lshl_b64 v[2:3], 24, v2
# | next:1465'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1117: v_mov_b32_e32 v4, 0
# | next:1465'0 ~~~~~~~~~~~~~~~~~~~~~
# | 1118: v_mov_b32_e32 v5, 0
# | next:1465'0 ~~~~~~~~~~~~~~~~~~~~~
# | 1119: s_xor_b64 s[4:5], vcc, -1
# | next:1465'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1120: s_and_saveexec_b64 s[8:9], s[4:5]
# | next:1465'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 1215: v_ffbh_u32_e32 v3, v1
# | 1216: v_min_u32_e32 v8, v2, v3
# | 1217: v_add_i32_e32 v2, vcc, 0xffffffd0, v8
# | 1218: v_addc_u32_e64 v3, s[6:7], 0, -1, vcc
# | 1219: v_cmp_eq_u64_e64 s[4:5], 0, v[0:1]
# | 1220: v_cmp_lt_u64_e32 vcc, 63, v[2:3]
# | next:1656'0 X error: no match found
# | 1221: v_mov_b32_e32 v4, 0x8000
# | next:1656'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1222: s_or_b64 s[4:5], s[4:5], vcc
# | next:1656'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1223: v_mov_b32_e32 v11, v10
# | next:1656'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | 1224: v_mov_b32_e32 v5, 0
# | next:1656'0 ~~~~~~~~~~~~~~~~~~~~~
# | 1225: v_cndmask_b32_e64 v4, v4, 0, s[4:5]
# | next:1656'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1226: s_xor_b64 s[4:5], s[4:5], -1
# | next:1656'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1227: s_and_saveexec_b64 s[6:7], s[4:5]
# | next:1656'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1228: s_cbranch_execz .LBB12_6
# | next:1656'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1229: ; %bb.1: ; %udiv-bb1
# | next:1656'0 ~~~~~~~~~~~~~~~~~~~~~
# | 1230: v_add_i32_e32 v6, vcc, 1, v2
# | next:1656'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1231: v_addc_u32_e32 v3, vcc, 0, v3, vcc
# | next:1656'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1232: v_sub_i32_e64 v2, s[4:5], 63, v2
# | next:1656'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1656'1 ? possible intended match
# | 1233: s_mov_b64 s[8:9], 0x8000
# | next:1656'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1234: v_lshl_b64 v[2:3], s[8:9], v2
# | next:1656'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1235: v_mov_b32_e32 v4, 0
# | next:1656'0 ~~~~~~~~~~~~~~~~~~~~~
# | 1236: v_mov_b32_e32 v5, 0
# | next:1656'0 ~~~~~~~~~~~~~~~~~~~~~
# | 1237: s_xor_b64 s[4:5], vcc, -1
# | next:1656'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 1335: v_sub_i32_e64 v0, s[4:5], 48, v6
# | 1336: v_subb_u32_e64 v1, s[4:5], 0, 0, s[4:5]
# | 1337: v_cmp_eq_u64_e32 vcc, 0, v[4:5]
# | 1338: v_cmp_lt_u64_e64 s[4:5], 63, v[0:1]
# | 1339: v_mov_b32_e32 v9, v8
# | 1340: s_or_b64 s[4:5], vcc, s[4:5]
# | next:1758'0 X error: no match found
# | 1341: v_cndmask_b32_e64 v3, v5, 0, s[4:5]
# | next:1758'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1342: s_xor_b64 s[8:9], s[4:5], -1
# | next:1758'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1343: v_cndmask_b32_e64 v2, v4, 0, s[4:5]
# | next:1758'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1344: s_and_saveexec_b64 s[6:7], s[8:9]
# | next:1758'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1345: s_cbranch_execz .LBB13_6
# | next:1758'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 1388: ; %bb.4: ; %Flow
# | next:1758'0 ~~~~~~~~~~~~~~~~~
# | 1389: s_or_b64 exec, exec, s[8:9]
# | next:1758'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1390: .LBB13_5: ; %Flow4
# | next:1758'0 ~~~~~~~~~~~~~~~~~~~
# | 1391: s_or_b64 exec, exec, s[4:5]
# | next:1758'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1392: v_lshl_b64 v[0:1], v[0:1], 1
# | next:1758'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1393: v_or_b32_e32 v3, v3, v1
# | next:1758'0 ~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1758'1 ? possible intended match
# | 1394: v_or_b32_e32 v2, v2, v0
# | next:1758'0 ~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1395: .LBB13_6: ; %Flow5
# | next:1758'0 ~~~~~~~~~~~~~~~~~~~
# | 1396: s_or_b64 exec, exec, s[6:7]
# | next:1758'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1397: v_xor_b32_e32 v0, v2, v8
# | next:1758'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1398: v_xor_b32_e32 v1, v3, v9
# | next:1758'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/srem64.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn -mcpu=gfx600 -amdgpu-bypass-slow-div=0 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\srem64.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefix=GCN C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\srem64.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mcpu=gfx600 -amdgpu-bypass-slow-div=0
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefix=GCN 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\srem64.ll'
# note: command had no output on stdout or stderr
# RUN: at line 3
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn -mcpu=gfx600 -amdgpu-bypass-slow-div=0 -amdgpu-codegenprepare-expand-div64 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\srem64.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefix=GCN-IR C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\srem64.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mcpu=gfx600 -amdgpu-bypass-slow-div=0 -amdgpu-codegenprepare-expand-div64
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefix=GCN-IR 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\srem64.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\srem64.ll:1417:16: error: GCN-IR-NEXT: expected string not found in input
# | ; GCN-IR-NEXT: s_mov_b64 s[6:7], 0
# | ^
# | <stdin>:1022:36: note: scanning from here
# | s_load_dwordx4 s[0:3], s[4:5], 0x9
# | ^
# | <stdin>:1034:2: note: possible intended match here
# | s_mov_b64 s[2:3], 0
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\srem64.ll:1615:16: error: GCN-IR-NEXT: expected string not found in input
# | ; GCN-IR-NEXT: v_cmp_ne_u64_e64 s[6:7], 63, v[2:3]
# | ^
# | <stdin>:1162:34: note: scanning from here
# | v_cmp_lt_u64_e32 vcc, 63, v[2:3]
# | ^
# | <stdin>:1172:2: note: possible intended match here
# | v_sub_i32_e64 v2, s[4:5], 63, v2
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\srem64.ll:1804:16: error: GCN-IR-NEXT: expected string not found in input
# | ; GCN-IR-NEXT: v_cmp_ne_u64_e64 s[6:7], 63, v[2:3]
# | ^
# | <stdin>:1281:34: note: scanning from here
# | v_cmp_lt_u64_e32 vcc, 63, v[2:3]
# | ^
# | <stdin>:1292:2: note: possible intended match here
# | v_sub_i32_e64 v2, s[4:5], 63, v2
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\srem64.ll:1911:16: error: GCN-IR-NEXT: expected string not found in input
# | ; GCN-IR-NEXT: v_cmp_ne_u64_e32 vcc, 63, v[2:3]
# | ^
# | <stdin>:1404:30: note: scanning from here
# | s_or_b64 s[4:5], vcc, s[4:5]
# | ^
# | <stdin>:1433:2: note: possible intended match here
# | v_lshrrev_b32_e32 v4, 31, v3
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\srem64.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 1017: .globl s_test_srem_k_num_i64 ; -- Begin function s_test_srem_k_num_i64
# | 1018: .p2align 8
# | 1019: .type s_test_srem_k_num_i64, at function
# | 1020: s_test_srem_k_num_i64: ; @s_test_srem_k_num_i64
# | 1021: ; %bb.0: ; %_udiv-special-cases
# | 1022: s_load_dwordx4 s[0:3], s[4:5], 0x9
# | next:1417'0 X error: no match found
# | 1023: s_waitcnt lgkmcnt(0)
# | next:1417'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 1024: s_ashr_i32 s6, s3, 31
# | next:1417'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | 1025: s_mov_b32 s7, s6
# | next:1417'0 ~~~~~~~~~~~~~~~~~~
# | 1026: s_xor_b64 s[2:3], s[2:3], s[6:7]
# | next:1417'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1027: s_sub_u32 s4, s2, s6
# | next:1417'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 1028: s_subb_u32 s5, s3, s6
# | next:1417'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | 1029: s_flbit_i32_b64 s14, s[4:5]
# | next:1417'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1030: s_add_u32 s8, s14, 0xffffffc5
# | next:1417'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1031: s_addc_u32 s9, 0, -1
# | next:1417'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 1032: v_cmp_eq_u64_e64 s[6:7], s[4:5], 0
# | next:1417'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1033: v_cmp_gt_u64_e64 s[10:11], s[8:9], 63
# | next:1417'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1034: s_mov_b64 s[2:3], 0
# | next:1417'0 ~~~~~~~~~~~~~~~~~~~~~
# | next:1417'1 ? possible intended match
# | 1035: s_or_b64 s[6:7], s[6:7], s[10:11]
# | next:1417'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1036: v_cndmask_b32_e64 v0, 0, 1, s[6:7]
# | next:1417'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1037: s_and_b64 s[6:7], s[6:7], exec
# | next:1417'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1038: v_cmp_ne_u32_e32 vcc, 1, v0
# | next:1417'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1039: s_cselect_b32 s6, 0, 24
# | next:1417'0 ~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 1157: v_ffbh_u32_e32 v3, v1
# | 1158: v_min_u32_e32 v8, v2, v3
# | 1159: v_add_i32_e32 v2, vcc, 0xffffffc5, v8
# | 1160: v_addc_u32_e64 v3, s[6:7], 0, -1, vcc
# | 1161: v_cmp_eq_u64_e64 s[4:5], 0, v[0:1]
# | 1162: v_cmp_lt_u64_e32 vcc, 63, v[2:3]
# | next:1615'0 X error: no match found
# | 1163: v_mov_b32_e32 v5, 0
# | next:1615'0 ~~~~~~~~~~~~~~~~~~~~~
# | 1164: s_or_b64 s[4:5], s[4:5], vcc
# | next:1615'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1165: v_cndmask_b32_e64 v4, 24, 0, s[4:5]
# | next:1615'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1166: s_xor_b64 s[4:5], s[4:5], -1
# | next:1615'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1167: s_and_saveexec_b64 s[6:7], s[4:5]
# | next:1615'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1168: s_cbranch_execz .LBB11_6
# | next:1615'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1169: ; %bb.1: ; %udiv-bb1
# | next:1615'0 ~~~~~~~~~~~~~~~~~~~~~
# | 1170: v_add_i32_e32 v6, vcc, 1, v2
# | next:1615'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1171: v_addc_u32_e32 v3, vcc, 0, v3, vcc
# | next:1615'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1172: v_sub_i32_e64 v2, s[4:5], 63, v2
# | next:1615'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1615'1 ? possible intended match
# | 1173: v_lshl_b64 v[2:3], 24, v2
# | next:1615'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1174: v_mov_b32_e32 v4, 0
# | next:1615'0 ~~~~~~~~~~~~~~~~~~~~~
# | 1175: v_mov_b32_e32 v5, 0
# | next:1615'0 ~~~~~~~~~~~~~~~~~~~~~
# | 1176: s_xor_b64 s[4:5], vcc, -1
# | next:1615'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1177: s_and_saveexec_b64 s[8:9], s[4:5]
# | next:1615'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 1276: v_ffbh_u32_e32 v3, v1
# | 1277: v_min_u32_e32 v8, v2, v3
# | 1278: v_add_i32_e32 v2, vcc, 0xffffffd0, v8
# | 1279: v_addc_u32_e64 v3, s[6:7], 0, -1, vcc
# | 1280: v_cmp_eq_u64_e64 s[4:5], 0, v[0:1]
# | 1281: v_cmp_lt_u64_e32 vcc, 63, v[2:3]
# | next:1804'0 X error: no match found
# | 1282: v_mov_b32_e32 v4, 0x8000
# | next:1804'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1283: s_or_b64 s[4:5], s[4:5], vcc
# | next:1804'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1284: v_mov_b32_e32 v5, 0
# | next:1804'0 ~~~~~~~~~~~~~~~~~~~~~
# | 1285: v_cndmask_b32_e64 v4, v4, 0, s[4:5]
# | next:1804'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1286: s_xor_b64 s[4:5], s[4:5], -1
# | next:1804'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1287: s_and_saveexec_b64 s[6:7], s[4:5]
# | next:1804'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1288: s_cbranch_execz .LBB12_6
# | next:1804'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1289: ; %bb.1: ; %udiv-bb1
# | next:1804'0 ~~~~~~~~~~~~~~~~~~~~~
# | 1290: v_add_i32_e32 v6, vcc, 1, v2
# | next:1804'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1291: v_addc_u32_e32 v3, vcc, 0, v3, vcc
# | next:1804'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1292: v_sub_i32_e64 v2, s[4:5], 63, v2
# | next:1804'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1804'1 ? possible intended match
# | 1293: s_mov_b64 s[8:9], 0x8000
# | next:1804'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1294: v_lshl_b64 v[2:3], s[8:9], v2
# | next:1804'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1295: v_mov_b32_e32 v4, 0
# | next:1804'0 ~~~~~~~~~~~~~~~~~~~~~
# | 1296: v_mov_b32_e32 v5, 0
# | next:1804'0 ~~~~~~~~~~~~~~~~~~~~~
# | 1297: s_xor_b64 s[4:5], vcc, -1
# | next:1804'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 1399: v_sub_i32_e64 v2, s[4:5], 48, v8
# | 1400: v_subb_u32_e64 v3, s[4:5], 0, 0, s[4:5]
# | 1401: v_cmp_eq_u64_e32 vcc, 0, v[0:1]
# | 1402: v_cmp_lt_u64_e64 s[4:5], 63, v[2:3]
# | 1403: v_mov_b32_e32 v11, v10
# | 1404: s_or_b64 s[4:5], vcc, s[4:5]
# | next:1911'0 X error: no match found
# | 1405: v_cndmask_b32_e64 v5, v1, 0, s[4:5]
# | next:1911'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1406: s_xor_b64 s[8:9], s[4:5], -1
# | next:1911'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1407: v_cndmask_b32_e64 v4, v0, 0, s[4:5]
# | next:1911'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1408: s_and_saveexec_b64 s[6:7], s[8:9]
# | next:1911'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1409: s_cbranch_execz .LBB13_6
# | next:1911'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 1428: v_mov_b32_e32 v5, 0
# | next:1911'0 ~~~~~~~~~~~~~~~~~~~~~
# | 1429: s_movk_i32 s10, 0x7fff
# | next:1911'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | 1430: .LBB13_3: ; %udiv-do-while
# | next:1911'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1431: ; =>This Inner Loop Header: Depth=1
# | next:1911'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1432: v_lshl_b64 v[6:7], v[6:7], 1
# | next:1911'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1433: v_lshrrev_b32_e32 v4, 31, v3
# | next:1911'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1911'1 ? possible intended match
# | 1434: v_or_b32_e32 v6, v6, v4
# | next:1911'0 ~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1435: v_lshl_b64 v[2:3], v[2:3], 1
# | next:1911'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1436: v_sub_i32_e32 v4, vcc, s10, v6
# | next:1911'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1437: v_subb_u32_e32 v4, vcc, 0, v7, vcc
# | next:1911'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1438: v_or_b32_e32 v2, v8, v2
# | next:1911'0 ~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/udiv64.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn -mcpu=gfx600 -amdgpu-bypass-slow-div=0 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\udiv64.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefix=GCN C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\udiv64.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mcpu=gfx600 -amdgpu-bypass-slow-div=0
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefix=GCN 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\udiv64.ll'
# note: command had no output on stdout or stderr
# RUN: at line 3
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn -mcpu=gfx600 -amdgpu-bypass-slow-div=0 -amdgpu-codegenprepare-expand-div64 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\udiv64.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefix=GCN-IR C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\udiv64.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mcpu=gfx600 -amdgpu-bypass-slow-div=0 -amdgpu-codegenprepare-expand-div64
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefix=GCN-IR 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\udiv64.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\udiv64.ll:915:16: error: GCN-IR-NEXT: expected string not found in input
# | ; GCN-IR-NEXT: v_cmp_eq_u64_e64 s[12:13], s[8:9], 63
# | ^
# | <stdin>:718:39: note: scanning from here
# | v_cmp_gt_u64_e64 s[10:11], s[8:9], 63
# | ^
# | <stdin>:764:2: note: possible intended match here
# | s_lshl_b64 s[2:3], s[6:7], 1
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\udiv64.ll:1086:16: error: GCN-IR-NEXT: expected string not found in input
# | ; GCN-IR-NEXT: v_cmp_ne_u64_e64 s[6:7], 63, v[4:5]
# | ^
# | <stdin>:834:34: note: scanning from here
# | v_cmp_lt_u64_e32 vcc, 63, v[4:5]
# | ^
# | <stdin>:840:6: note: possible intended match here
# | s_and_saveexec_b64 s[6:7], s[4:5]
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\udiv64.ll:1176:16: error: GCN-IR-NEXT: expected string not found in input
# | ; GCN-IR-NEXT: v_cmp_ne_u64_e32 vcc, 63, v[4:5]
# | ^
# | <stdin>:945:30: note: scanning from here
# | s_or_b64 s[4:5], vcc, s[4:5]
# | ^
# | <stdin>:948:10: note: possible intended match here
# | v_cndmask_b32_e64 v3, v0, 0, s[4:5]
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\udiv64.ll:1280:16: error: GCN-IR-NEXT: expected string not found in input
# | ; GCN-IR-NEXT: v_cmp_eq_u64_e64 s[12:13], s[8:9], 63
# | ^
# | <stdin>:1048:37: note: scanning from here
# | v_cmp_gt_u64_e64 s[6:7], s[8:9], 63
# | ^
# | <stdin>:1073:2: note: possible intended match here
# | s_lshl_b64 s[2:3], s[2:3], 1
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\udiv64.ll:1375:16: error: GCN-IR-NEXT: expected string not found in input
# | ; GCN-IR-NEXT: v_cmp_ne_u64_e32 vcc, 63, v[4:5]
# | ^
# | <stdin>:1163:30: note: scanning from here
# | s_or_b64 s[4:5], vcc, s[4:5]
# | ^
# | <stdin>:1166:10: note: possible intended match here
# | v_cndmask_b32_e64 v3, v0, 0, s[4:5]
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\udiv64.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 713: s_waitcnt lgkmcnt(0)
# | 714: s_flbit_i32_b64 s14, s[2:3]
# | 715: s_add_u32 s8, s14, 0xffffffc5
# | 716: s_addc_u32 s9, 0, -1
# | 717: v_cmp_eq_u64_e64 s[6:7], s[2:3], 0
# | 718: v_cmp_gt_u64_e64 s[10:11], s[8:9], 63
# | next:915'0 X error: no match found
# | 719: s_or_b64 s[6:7], s[6:7], s[10:11]
# | next:915'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 720: v_cndmask_b32_e64 v0, 0, 1, s[6:7]
# | next:915'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 721: s_and_b64 s[6:7], s[6:7], exec
# | next:915'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 722: v_cmp_ne_u32_e32 vcc, 1, v0
# | next:915'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 723: s_cselect_b32 s6, 0, 24
# | next:915'0 ~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 759: s_cselect_b64 s[16:17], -1, 0
# | next:915'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 760: s_mov_b64 s[8:9], s[4:5]
# | next:915'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 761: s_and_b64 vcc, exec, s[16:17]
# | next:915'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 762: s_cbranch_vccz .LBB8_3
# | next:915'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | 763: .LBB8_4: ; %Flow6
# | next:915'0 ~~~~~~~~~~~~~~~~~~
# | 764: s_lshl_b64 s[2:3], s[6:7], 1
# | next:915'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:915'1 ? possible intended match
# | 765: s_or_b64 s[6:7], s[4:5], s[2:3]
# | next:915'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 766: .LBB8_5: ; %udiv-end
# | next:915'0 ~~~~~~~~~~~~~~~~~~~~~
# | 767: v_mov_b32_e32 v0, s6
# | next:915'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 768: s_mov_b32 s3, 0xf000
# | next:915'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 769: s_mov_b32 s2, -1
# | next:915'0 ~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 829: v_ffbh_u32_e32 v3, v1
# | 830: v_min_u32_e32 v8, v2, v3
# | 831: v_add_i32_e32 v4, vcc, 0xffffffd0, v8
# | 832: v_addc_u32_e64 v5, s[6:7], 0, -1, vcc
# | 833: v_cmp_eq_u64_e64 s[4:5], 0, v[0:1]
# | 834: v_cmp_lt_u64_e32 vcc, 63, v[4:5]
# | next:1086'0 X error: no match found
# | 835: v_mov_b32_e32 v3, 0x8000
# | next:1086'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 836: s_or_b64 s[4:5], s[4:5], vcc
# | next:1086'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 837: v_mov_b32_e32 v2, 0
# | next:1086'0 ~~~~~~~~~~~~~~~~~~~~~
# | 838: v_cndmask_b32_e64 v3, v3, 0, s[4:5]
# | next:1086'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 839: s_xor_b64 s[4:5], s[4:5], -1
# | next:1086'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 840: s_and_saveexec_b64 s[6:7], s[4:5]
# | next:1086'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1086'1 ? possible intended match
# | 841: s_cbranch_execz .LBB9_6
# | next:1086'0 ~~~~~~~~~~~~~~~~~~~~~~~~~
# | 842: ; %bb.1: ; %udiv-bb1
# | next:1086'0 ~~~~~~~~~~~~~~~~~~~~~
# | 843: v_add_i32_e32 v6, vcc, 1, v4
# | next:1086'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 844: v_addc_u32_e32 v2, vcc, 0, v5, vcc
# | next:1086'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 845: v_sub_i32_e64 v2, s[4:5], 63, v4
# | next:1086'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 940: v_min_u32_e32 v6, v2, v3
# | 941: v_sub_i32_e64 v4, s[4:5], 48, v6
# | 942: v_subb_u32_e64 v5, s[4:5], 0, 0, s[4:5]
# | 943: v_cmp_eq_u64_e32 vcc, 0, v[0:1]
# | 944: v_cmp_lt_u64_e64 s[4:5], 63, v[4:5]
# | 945: s_or_b64 s[4:5], vcc, s[4:5]
# | next:1176'0 X error: no match found
# | 946: v_cndmask_b32_e64 v2, v1, 0, s[4:5]
# | next:1176'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 947: s_xor_b64 s[8:9], s[4:5], -1
# | next:1176'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 948: v_cndmask_b32_e64 v3, v0, 0, s[4:5]
# | next:1176'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1176'1 ? possible intended match
# | 949: s_and_saveexec_b64 s[6:7], s[8:9]
# | next:1176'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 950: s_cbranch_execz .LBB10_6
# | next:1176'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 951: ; %bb.1: ; %udiv-bb1
# | next:1176'0 ~~~~~~~~~~~~~~~~~~~~~
# | 952: v_add_i32_e32 v7, vcc, 1, v4
# | next:1176'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 953: v_addc_u32_e32 v2, vcc, 0, v5, vcc
# | next:1176'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 1043: s_waitcnt lgkmcnt(0)
# | 1044: s_flbit_i32_b64 s10, s[2:3]
# | 1045: s_sub_u32 s8, 59, s10
# | 1046: s_subb_u32 s9, 0, 0
# | 1047: v_cmp_eq_u64_e64 s[4:5], s[2:3], 0
# | 1048: v_cmp_gt_u64_e64 s[6:7], s[8:9], 63
# | next:1280'0 X error: no match found
# | 1049: s_or_b64 s[4:5], s[4:5], s[6:7]
# | next:1280'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1050: v_cndmask_b32_e64 v0, 0, 1, s[4:5]
# | next:1280'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1051: s_and_b64 s[4:5], s[4:5], exec
# | next:1280'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1052: v_cmp_ne_u32_e32 vcc, 1, v0
# | next:1280'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1053: s_cselect_b32 s6, 0, s2
# | next:1280'0 ~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 1068: s_addc_u32 s11, 0, -1
# | next:1280'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | 1069: s_mov_b64 s[8:9], 0
# | next:1280'0 ~~~~~~~~~~~~~~~~~~~~~
# | 1070: s_mov_b32 s5, 0
# | next:1280'0 ~~~~~~~~~~~~~~~~~
# | 1071: .LBB11_3: ; %udiv-do-while
# | next:1280'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1072: ; =>This Inner Loop Header: Depth=1
# | next:1280'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1073: s_lshl_b64 s[2:3], s[2:3], 1
# | next:1280'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1280'1 ? possible intended match
# | 1074: s_lshr_b32 s4, s7, 31
# | next:1280'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | 1075: s_lshl_b64 s[6:7], s[6:7], 1
# | next:1280'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1076: s_or_b64 s[2:3], s[2:3], s[4:5]
# | next:1280'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1077: s_or_b64 s[6:7], s[8:9], s[6:7]
# | next:1280'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1078: s_sub_u32 s4, 23, s2
# | next:1280'0 ~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 1158: v_min_u32_e32 v6, v2, v3
# | 1159: v_sub_i32_e64 v4, s[4:5], 59, v6
# | 1160: v_subb_u32_e64 v5, s[4:5], 0, 0, s[4:5]
# | 1161: v_cmp_eq_u64_e32 vcc, 0, v[0:1]
# | 1162: v_cmp_lt_u64_e64 s[4:5], 63, v[4:5]
# | 1163: s_or_b64 s[4:5], vcc, s[4:5]
# | next:1375'0 X error: no match found
# | 1164: v_cndmask_b32_e64 v2, v1, 0, s[4:5]
# | next:1375'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1165: s_xor_b64 s[8:9], s[4:5], -1
# | next:1375'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1166: v_cndmask_b32_e64 v3, v0, 0, s[4:5]
# | next:1375'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1375'1 ? possible intended match
# | 1167: s_and_saveexec_b64 s[6:7], s[8:9]
# | next:1375'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1168: s_cbranch_execz .LBB12_6
# | next:1375'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1169: ; %bb.1: ; %udiv-bb1
# | next:1375'0 ~~~~~~~~~~~~~~~~~~~~~
# | 1170: v_add_i32_e32 v7, vcc, 1, v4
# | next:1375'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1171: v_addc_u32_e32 v2, vcc, 0, v5, vcc
# | next:1375'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/urem64.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn -mcpu=gfx600 -amdgpu-bypass-slow-div=0 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\urem64.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefix=GCN C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\urem64.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mcpu=gfx600 -amdgpu-bypass-slow-div=0
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefix=GCN 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\urem64.ll'
# note: command had no output on stdout or stderr
# RUN: at line 3
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn -mcpu=gfx600 -amdgpu-bypass-slow-div=0 -amdgpu-codegenprepare-expand-div64 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\urem64.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefix=GCN-IR C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\urem64.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mcpu=gfx600 -amdgpu-bypass-slow-div=0 -amdgpu-codegenprepare-expand-div64
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefix=GCN-IR 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\urem64.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\urem64.ll:929:16: error: GCN-IR-NEXT: expected string not found in input
# | ; GCN-IR-NEXT: v_cmp_eq_u64_e64 s[12:13], s[8:9], 63
# | ^
# | <stdin>:643:39: note: scanning from here
# | v_cmp_gt_u64_e64 s[10:11], s[8:9], 63
# | ^
# | <stdin>:679:2: note: possible intended match here
# | s_and_b64 s[16:17], s[8:9], s[2:3]
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\urem64.ll:1045:16: error: GCN-IR-NEXT: expected string not found in input
# | ; GCN-IR-NEXT: v_cmp_eq_u64_e64 s[12:13], s[8:9], 63
# | ^
# | <stdin>:766:37: note: scanning from here
# | v_cmp_gt_u64_e64 s[6:7], s[8:9], 63
# | ^
# | <stdin>:791:2: note: possible intended match here
# | s_lshl_b64 s[8:9], s[8:9], 1
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\urem64.ll:1222:16: error: GCN-IR-NEXT: expected string not found in input
# | ; GCN-IR-NEXT: v_cmp_ne_u64_e64 s[6:7], 63, v[2:3]
# | ^
# | <stdin>:888:34: note: scanning from here
# | v_cmp_lt_u64_e32 vcc, 63, v[2:3]
# | ^
# | <stdin>:899:2: note: possible intended match here
# | v_sub_i32_e64 v2, s[4:5], 63, v2
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\urem64.ll:1313:16: error: GCN-IR-NEXT: expected string not found in input
# | ; GCN-IR-NEXT: v_sub_i32_e64 v2, s[4:5], 48, v8
# | ^
# | <stdin>:1000:26: note: scanning from here
# | v_min_u32_e32 v8, v2, v3
# | ^
# | <stdin>:1001:2: note: possible intended match here
# | v_sub_i32_e64 v4, s[4:5], 48, v8
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\urem64.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 638: s_waitcnt lgkmcnt(0)
# | 639: s_flbit_i32_b64 s14, s[2:3]
# | 640: s_add_u32 s8, s14, 0xffffffc5
# | 641: s_addc_u32 s9, 0, -1
# | 642: v_cmp_eq_u64_e64 s[6:7], s[2:3], 0
# | 643: v_cmp_gt_u64_e64 s[10:11], s[8:9], 63
# | next:929'0 X error: no match found
# | 644: s_or_b64 s[6:7], s[6:7], s[10:11]
# | next:929'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 645: v_cndmask_b32_e64 v0, 0, 1, s[6:7]
# | next:929'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 646: s_and_b64 s[6:7], s[6:7], exec
# | next:929'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 647: v_cmp_ne_u32_e32 vcc, 1, v0
# | next:929'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 648: s_cselect_b32 s6, 0, 24
# | next:929'0 ~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 674: s_sub_u32 s4, s12, s10
# | next:929'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | 675: s_subb_u32 s4, s13, s11
# | next:929'0 ~~~~~~~~~~~~~~~~~~~~~~~~~
# | 676: s_ashr_i32 s8, s4, 31
# | next:929'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | 677: s_mov_b32 s9, s8
# | next:929'0 ~~~~~~~~~~~~~~~~~~
# | 678: s_and_b32 s4, s8, 1
# | next:929'0 ~~~~~~~~~~~~~~~~~~~~~
# | 679: s_and_b64 s[16:17], s[8:9], s[2:3]
# | next:929'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:929'1 ? possible intended match
# | 680: s_sub_u32 s10, s10, s16
# | next:929'0 ~~~~~~~~~~~~~~~~~~~~~~~~~
# | 681: s_subb_u32 s11, s11, s17
# | next:929'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 682: s_add_u32 s14, s14, 1
# | next:929'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | 683: s_addc_u32 s15, s15, 0
# | next:929'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | 684: s_cselect_b64 s[16:17], -1, 0
# | next:929'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 761: s_waitcnt lgkmcnt(0)
# | 762: s_flbit_i32_b64 s10, s[2:3]
# | 763: s_sub_u32 s8, 59, s10
# | 764: s_subb_u32 s9, 0, 0
# | 765: v_cmp_eq_u64_e64 s[4:5], s[2:3], 0
# | 766: v_cmp_gt_u64_e64 s[6:7], s[8:9], 63
# | next:1045'0 X error: no match found
# | 767: s_or_b64 s[4:5], s[4:5], s[6:7]
# | next:1045'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 768: v_cndmask_b32_e64 v0, 0, 1, s[4:5]
# | next:1045'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 769: s_and_b64 s[4:5], s[4:5], exec
# | next:1045'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 770: v_cmp_ne_u32_e32 vcc, 1, v0
# | next:1045'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 771: s_cselect_b32 s6, 0, s2
# | next:1045'0 ~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 786: s_addc_u32 s13, 0, -1
# | next:1045'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | 787: s_mov_b64 s[10:11], 0
# | next:1045'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | 788: s_mov_b32 s5, 0
# | next:1045'0 ~~~~~~~~~~~~~~~~~
# | 789: .LBB7_3: ; %udiv-do-while
# | next:1045'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 790: ; =>This Inner Loop Header: Depth=1
# | next:1045'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 791: s_lshl_b64 s[8:9], s[8:9], 1
# | next:1045'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1045'1 ? possible intended match
# | 792: s_lshr_b32 s4, s7, 31
# | next:1045'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | 793: s_lshl_b64 s[6:7], s[6:7], 1
# | next:1045'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 794: s_or_b64 s[8:9], s[8:9], s[4:5]
# | next:1045'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 795: s_or_b64 s[6:7], s[10:11], s[6:7]
# | next:1045'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 796: s_sub_u32 s4, 23, s8
# | next:1045'0 ~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 883: v_ffbh_u32_e32 v3, v1
# | 884: v_min_u32_e32 v8, v2, v3
# | 885: v_add_i32_e32 v2, vcc, 0xffffffd0, v8
# | 886: v_addc_u32_e64 v3, s[6:7], 0, -1, vcc
# | 887: v_cmp_eq_u64_e64 s[4:5], 0, v[0:1]
# | 888: v_cmp_lt_u64_e32 vcc, 63, v[2:3]
# | next:1222'0 X error: no match found
# | 889: v_mov_b32_e32 v4, 0x8000
# | next:1222'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 890: s_or_b64 s[4:5], s[4:5], vcc
# | next:1222'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 891: v_mov_b32_e32 v5, 0
# | next:1222'0 ~~~~~~~~~~~~~~~~~~~~~
# | 892: v_cndmask_b32_e64 v4, v4, 0, s[4:5]
# | next:1222'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 893: s_xor_b64 s[4:5], s[4:5], -1
# | next:1222'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 894: s_and_saveexec_b64 s[6:7], s[4:5]
# | next:1222'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 895: s_cbranch_execz .LBB8_6
# | next:1222'0 ~~~~~~~~~~~~~~~~~~~~~~~~~
# | 896: ; %bb.1: ; %udiv-bb1
# | next:1222'0 ~~~~~~~~~~~~~~~~~~~~~
# | 897: v_add_i32_e32 v6, vcc, 1, v2
# | next:1222'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 898: v_addc_u32_e32 v3, vcc, 0, v3, vcc
# | next:1222'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 899: v_sub_i32_e64 v2, s[4:5], 63, v2
# | next:1222'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1222'1 ? possible intended match
# | 900: s_mov_b64 s[8:9], 0x8000
# | next:1222'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 901: v_lshl_b64 v[2:3], s[8:9], v2
# | next:1222'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 902: v_mov_b32_e32 v4, 0
# | next:1222'0 ~~~~~~~~~~~~~~~~~~~~~
# | 903: v_mov_b32_e32 v5, 0
# | next:1222'0 ~~~~~~~~~~~~~~~~~~~~~
# | 904: s_xor_b64 s[4:5], vcc, -1
# | next:1222'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 995: ; %bb.0: ; %_udiv-special-cases
# | 996: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | 997: v_ffbh_u32_e32 v2, v0
# | 998: v_add_i32_e64 v2, s[4:5], 32, v2
# | 999: v_ffbh_u32_e32 v3, v1
# | 1000: v_min_u32_e32 v8, v2, v3
# | next:1313'0 X error: no match found
# | 1001: v_sub_i32_e64 v4, s[4:5], 48, v8
# | next:1313'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1313'1 ? possible intended match
# | 1002: v_subb_u32_e64 v5, s[4:5], 0, 0, s[4:5]
# | next:1313'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1003: v_cmp_eq_u64_e32 vcc, 0, v[0:1]
# | next:1313'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1004: v_cmp_lt_u64_e64 s[4:5], 63, v[4:5]
# | next:1313'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1005: s_or_b64 s[4:5], vcc, s[4:5]
# | next:1313'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1006: v_cndmask_b32_e64 v3, v1, 0, s[4:5]
# | next:1313'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/PowerPC/add_cmp.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mcpu=pwr9 -mtriple=powerpc64le-unknown-linux-gnu < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\PowerPC\add_cmp.ll -verify-machineinstrs -debug 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\PowerPC\add_cmp.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mcpu=pwr9 -mtriple=powerpc64le-unknown-linux-gnu -verify-machineinstrs -debug
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\PowerPC\add_cmp.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\PowerPC\add_cmp.ll:40:10: error: CHECK: expected string not found in input
# | ; CHECK: [[REG2:t[0-9]+]]: i32 = add nuw [[REG1]], Constant:i32<110>
# | ^
# | <stdin>:4395:41: note: scanning from here
# | Creating new node: t5: i32 = truncate t4
# | ^
# | <stdin>:4395:41: note: with "REG1" equal to "t5"
# | Creating new node: t5: i32 = truncate t4
# | ^
# | <stdin>:4399:20: note: possible intended match here
# | Creating new node: t10: i16 = add nsw t8, Constant:i16<16>
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\PowerPC\add_cmp.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 4390:
# | 4391:
# | 4392: === addiCmpiSignedOverflow
# | 4393: Creating new node: t2: i64,ch = CopyFromReg t0, Register:i64 %0
# | 4394: Creating new node: t4: i64 = AssertSext t2, ValueType:ch:i32
# | 4395: Creating new node: t5: i32 = truncate t4
# | check:40'0 X error: no match found
# | check:40'1 with "REG1" equal to "t5"
# | 4396: Creating new node: t7: i32 = AssertSext t5, ValueType:ch:i16
# | check:40'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 4397: Creating new node: t8: i16 = truncate t7
# | check:40'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 4398: Creating constant: t9: i16 = Constant<16>
# | check:40'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 4399: Creating new node: t10: i16 = add nsw t8, Constant:i16<16>
# | check:40'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:40'2 ? possible intended match
# | 4400: Creating constant: t11: i1 = Constant<-1>
# | check:40'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 4401: Creating constant: t12: i32 = Constant<1>
# | check:40'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 4402: Creating constant: t13: i64 = Constant<1>
# | check:40'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 4403: Creating new node: t15: ch,glue = CopyToReg t0, Register:i64 $x3, Constant:i64<1>
# | check:40'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 4404: Creating new node: t16: ch = PPCISD::RET_GLUE t15, Register:i64 $x3, t15:1
# | check:40'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.Transforms/Attributor/range.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\opt.exe -aa-pipeline=basic-aa -passes=attributor -attributor-manifest-internal -attributor-annotate-decl-cs -S < C:\_work\llvm-project\llvm-project\llvm\test\Transforms\Attributor\range.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe --allow-unused-prefixes C:\_work\llvm-project\llvm-project\llvm\test\Transforms\Attributor\range.ll --check-prefixes=CHECK,TUNIT
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -aa-pipeline=basic-aa -passes=attributor -attributor-manifest-internal -attributor-annotate-decl-cs -S
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' --allow-unused-prefixes 'C:\_work\llvm-project\llvm-project\llvm\test\Transforms\Attributor\range.ll' --check-prefixes=CHECK,TUNIT
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\Transforms\Attributor\range.ll:891:15: error: TUNIT-NEXT: expected string not found in input
# | ; TUNIT-NEXT: [[CMP:%.*]] = icmp sgt i32 [[A]], 5
# | ^
# | <stdin>:308:7: note: scanning from here
# | entry:
# | ^
# | <stdin>:308:7: note: with "A" equal to "%a"
# | entry:
# | ^
# | <stdin>:309:2: note: possible intended match here
# | ret i64 0
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\Transforms\Attributor\range.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 303: ret i32 0
# | 304: }
# | 305:
# | 306: ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none)
# | 307: define dso_local noundef i64 @select_int2ptr_bitcast_ptr2int(i32 %a) local_unnamed_addr #1 {
# | 308: entry:
# | next:891'0 X error: no match found
# | next:891'1 with "A" equal to "%a"
# | 309: ret i64 0
# | next:891'0 ~~~~~~~~~~~
# | next:891'2 ? possible intended match
# | 310: }
# | next:891'0 ~~
# | 311:
# | next:891'0 ~
# | 312: ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none)
# | next:891'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 313: define i1 @f_fcmp(float %a, float %b) #1 {
# | next:891'0 ~~~~~~~~~~~~~~~~~
# | 314: %r = fcmp uge float %a, %b
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.Transforms/InstCombine/add.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\opt.exe < C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\add.ll -passes=instcombine -S | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\add.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -passes=instcombine -S
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\add.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\add.ll:3277:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: [[A:%.*]] = add nsw <2 x i8> [[O]], splat (i8 -1)
# | ^
# | <stdin>:1593:35: note: scanning from here
# | %o = or <2 x i8> %x, splat (i8 8)
# | ^
# | <stdin>:1593:35: note: with "O" equal to "%o"
# | %o = or <2 x i8> %x, splat (i8 8)
# | ^
# | <stdin>:1594:2: note: possible intended match here
# | %c = zext <2 x i8> %o to <2 x i32>
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\add.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 1588: %c = zext <2 x i8> %o to <2 x i32>
# | 1589: ret <2 x i32> %c
# | 1590: }
# | 1591:
# | 1592: define <2 x i32> @dec_zext_add_nonzero_vec_poison2(<2 x i8> %x) {
# | 1593: %o = or <2 x i8> %x, splat (i8 8)
# | next:3277'0 X error: no match found
# | next:3277'1 with "O" equal to "%o"
# | 1594: %c = zext <2 x i8> %o to <2 x i32>
# | next:3277'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:3277'2 ? possible intended match
# | 1595: ret <2 x i32> %c
# | next:3277'0 ~~~~~~~~~~~~~~~~~~
# | 1596: }
# | next:3277'0 ~~
# | 1597:
# | next:3277'0 ~
# | 1598: define i32 @add_zext_sext_i1(i1 %a) {
# | next:3277'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1599: ret i32 0
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.Transforms/InstCombine/fls.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\opt.exe < C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\fls.ll -passes=instcombine -S | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\fls.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -passes=instcombine -S
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\fls.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\fls.ll:36:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: [[GOO:%.*]] = sub nsw i32 64, [[TMP1]]
# | ^
# | <stdin>:20:37: note: scanning from here
# | %1 = trunc nuw nsw i64 %ctlz to i32
# | ^
# | <stdin>:20:37: note: with "TMP1" equal to "%1"
# | %1 = trunc nuw nsw i64 %ctlz to i32
# | ^
# | <stdin>:21:5: note: possible intended match here
# | %goo = sub nuw nsw i32 64, %1
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\fls.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 15: ret i32 6
# | 16: }
# | 17:
# | 18: define i32 @flsnotconst(i64 %z) {
# | 19: %ctlz = call range(i64 0, 65) i64 @llvm.ctlz.i64(i64 %z, i1 false)
# | 20: %1 = trunc nuw nsw i64 %ctlz to i32
# | next:36'0 X error: no match found
# | next:36'1 with "TMP1" equal to "%1"
# | 21: %goo = sub nuw nsw i32 64, %1
# | next:36'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:36'2 ? possible intended match
# | 22: ret i32 %goo
# | next:36'0 ~~~~~~~~~~~~~~
# | 23: }
# | next:36'0 ~~
# | 24:
# | next:36'0 ~
# | 25: define i32 @flszero() {
# | next:36'0 ~~~~~~~~~~~~~~~~~~~~
# | 26: ret i32 0
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.Transforms/InstCombine/icmp-add.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\opt.exe < C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\icmp-add.ll -passes=instcombine -S | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\icmp-add.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -passes=instcombine -S
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\icmp-add.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\icmp-add.ll:3165:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: [[ADD:%.*]] = add nsw i32 [[X:%.*]], 4
# | ^
# | <stdin>:1440:60: note: scanning from here
# | define i1 @icmp_add_constant_with_constant_ult_to_slt_neg3(i32 range(i32 -4, 10) %x) {
# | ^
# | <stdin>:1440:69: note: possible intended match here
# | define i1 @icmp_add_constant_with_constant_ult_to_slt_neg3(i32 range(i32 -4, 10) %x) {
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\icmp-add.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 1435: %add = add i8 %x, 15
# | 1436: %cmp = icmp ult i8 %add, 20
# | 1437: ret i1 %cmp
# | 1438: }
# | 1439:
# | 1440: define i1 @icmp_add_constant_with_constant_ult_to_slt_neg3(i32 range(i32 -4, 10) %x) {
# | next:3165'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | next:3165'1 ? possible intended match
# | 1441: ret i1 true
# | next:3165'0 ~~~~~~~~~~~~~
# | 1442: }
# | next:3165'0 ~~
# | 1443:
# | next:3165'0 ~
# | 1444: define i1 @icmp_add_constant_with_constant_ult_to_slt_neg4(i32 range(i32 -4, 10) %x) {
# | next:3165'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1445: %add = add nsw i32 %x, 5
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.Transforms/InstCombine/minmax-intrinsics.ll</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\opt.exe -S -passes=instcombine < C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\minmax-intrinsics.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\minmax-intrinsics.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -S -passes=instcombine
# .---command stderr------------
# | Assertion failed: !Overflow && "Expected simplify of min/max", file C:\_work\llvm-project\llvm-project\llvm\lib\Transforms\InstCombine\InstCombineCalls.cpp, line 1255
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug.
# | Stack dump:
# | 0. Program arguments: c:\\_work\\llvm-project\\llvm-project\\build\\bin\\opt.exe -S -passes=instcombine
# | 1. Running pass "function(instcombine<max-iterations=1;verify-fixpoint>)" on module "<stdin>"
# | 2. Running pass "instcombine<max-iterations=1;verify-fixpoint>" on function "smax_offset_simplify"
# | Exception Code: 0xC000001D
# | #0 0x00007ff61cb7ead6 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x90ead6)
# | #1 0x00007ffeaf5cbb04 (C:\Windows\System32\ucrtbase.dll+0x7bb04)
# | #2 0x00007ffeaf5ccad1 (C:\Windows\System32\ucrtbase.dll+0x7cad1)
# | #3 0x00007ffeaf5ce4a1 (C:\Windows\System32\ucrtbase.dll+0x7e4a1)
# | #4 0x00007ffeaf5ce6e1 (C:\Windows\System32\ucrtbase.dll+0x7e6e1)
# | #5 0x00007ff61d05f365 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xdef365)
# | #6 0x00007ff61d05a1fa (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xdea1fa)
# | #7 0x00007ff61c4af021 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x23f021)
# | #8 0x00007ff61c4b33d6 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x2433d6)
# | #9 0x00007ff61c4b281f (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x24281f)
# | #10 0x00007ff61d345321 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x10d5321)
# | #11 0x00007ff61d0bf5dd (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xe4f5dd)
# | #12 0x00007ff61c6bcf71 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x44cf71)
# | #13 0x00007ff61d0c2ad6 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xe52ad6)
# | #14 0x00007ff61c5a7c11 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x337c11)
# | #15 0x00007ff61d0be55d (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xe4e55d)
# | #16 0x00007ff61c5a199c (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x33199c)
# | #17 0x00007ff61c276e4f (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x6e4f)
# | #18 0x00007ff61c271025 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x1025)
# | #19 0x00007ff620bfe980 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x498e980)
# | #20 0x00007ffeb9944cb0 (C:\Windows\System32\KERNEL32.DLL+0x14cb0)
# | #21 0x00007ffebed5edcb (C:\Windows\SYSTEM32\ntdll.dll+0x7edcb)
# `-----------------------------
# error: command failed with exit status: 0xc000001d
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\minmax-intrinsics.ll'
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line: c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\minmax-intrinsics.ll
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>LLVM.Transforms/InstCombine/pr80597.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\opt.exe -S -passes=instcombine < C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\pr80597.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\pr80597.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -S -passes=instcombine
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\pr80597.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\pr80597.ll:8:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: [[ADD:%.*]] = select i1 [[COND]], i64 0, i64 -12884901888
# | ^
# | <stdin>:5:7: note: scanning from here
# | entry:
# | ^
# | <stdin>:5:7: note: with "COND" equal to "%cond"
# | entry:
# | ^
# | <stdin>:9:2: note: possible intended match here
# | ret i64 poison
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\pr80597.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: ; ModuleID = '<stdin>'
# | 2: source_filename = "<stdin>"
# | 3:
# | 4: define i64 @pr80597(i1 %cond) {
# | 5: entry:
# | next:8'0 X error: no match found
# | next:8'1 with "COND" equal to "%cond"
# | 6: br i1 true, label %if.then, label %if.else
# | next:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 7:
# | next:8'0 ~
# | 8: if.else: ; preds = %entry
# | next:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 9: ret i64 poison
# | next:8'0 ~~~~~~~~~~~~~~~~
# | next:8'2 ? possible intended match
# | 10:
# | next:8'0 ~
# | 11: if.then: ; preds = %entry
# | next:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 12: ret i64 0
# | next:8'0 ~~~~~~~~~~~
# | 13: }
# | next:8'0 ~~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.Transforms/InstCombine/sadd_sat.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\opt.exe < C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\sadd_sat.ll -passes=instcombine -S | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\sadd_sat.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -passes=instcombine -S
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\sadd_sat.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\sadd_sat.ll:827:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: [[TMP1:%.*]] = trunc i16 [[Y:%.*]] to i8
# | ^
# | <stdin>:345:16: note: scanning from here
# | define i16 @or(i8 %X, i16 %Y) {
# | ^
# | <stdin>:346:4: note: possible intended match here
# | %conv10 = sext i8 %X to i16
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\sadd_sat.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 340: %0 = trunc nuw <2 x i16> %conv to <2 x i8>
# | 341: %1 = call <2 x i8> @llvm.sadd.sat.v2i8(<2 x i8> %0, <2 x i8> %b)
# | 342: ret <2 x i8> %1
# | 343: }
# | 344:
# | 345: define i16 @or(i8 %X, i16 %Y) {
# | next:827'0 X~~~~~~~~~~~~~~~~ error: no match found
# | 346: %conv10 = sext i8 %X to i16
# | next:827'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:827'1 ? possible intended match
# | 347: %conv14 = or i16 %Y, -16
# | next:827'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 348: %sub = sub nsw i16 %conv10, %conv14
# | next:827'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 349: %l12 = call i16 @llvm.smin.i16(i16 %sub, i16 127)
# | next:827'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 350: ret i16 %l12
# | next:827'0 ~~~~~~~~~~~~~~
# | 351: }
# | next:827'0 ~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.Transforms/InstCombine/saturating-add-sub.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\opt.exe < C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\saturating-add-sub.ll -passes=instcombine -S | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\saturating-add-sub.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -passes=instcombine -S
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\saturating-add-sub.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\saturating-add-sub.ll:1114:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: [[B:%.*]] = add nuw <2 x i8> [[A:%.*]], <i8 10, i8 9>
# | ^
# | <stdin>:574:59: note: scanning from here
# | define <2 x i8> @test_vector_usub_add_nuw_no_ov_nonsplat2(<2 x i8> %a) {
# | ^
# | <stdin>:575:2: note: possible intended match here
# | %r = add <2 x i8> %a, <i8 1, i8 0>
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\saturating-add-sub.ll:1191:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: [[R:%.*]] = call <2 x i8> @llvm.ssub.sat.v2i8(<2 x i8> [[AA]], <2 x i8> [[BB]])
# | ^
# | <stdin>:615:37: note: scanning from here
# | %bb = and <2 x i8> %b, splat (i8 7)
# | ^
# | <stdin>:615:37: note: with "AA" equal to "%aa"
# | %bb = and <2 x i8> %b, splat (i8 7)
# | ^
# | <stdin>:615:37: note: with "BB" equal to "%bb"
# | %bb = and <2 x i8> %b, splat (i8 7)
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\saturating-add-sub.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 569: define <3 x i8> @test_vector_usub_add_nuw_no_ov_nonsplat1_poison(<3 x i8> %a) {
# | 570: %r = add <3 x i8> %a, <i8 0, i8 1, i8 poison>
# | 571: ret <3 x i8> %r
# | 572: }
# | 573:
# | 574: define <2 x i8> @test_vector_usub_add_nuw_no_ov_nonsplat2(<2 x i8> %a) {
# | next:1114'0 X~~~~~~~~~~~~~~ error: no match found
# | 575: %r = add <2 x i8> %a, <i8 1, i8 0>
# | next:1114'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1114'1 ? possible intended match
# | 576: ret <2 x i8> %r
# | next:1114'0 ~~~~~~~~~~~~~~~~~
# | 577: }
# | next:1114'0 ~~
# | 578:
# | next:1114'0 ~
# | 579: define <2 x i8> @test_vector_usub_add_nuw_no_ov_nonsplat3(<2 x i8> %a) {
# | next:1114'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 580: %b = add nuw <2 x i8> %a, <i8 10, i8 9>
# | .
# | .
# | .
# | 610: ret <2 x i8> %r
# | 611: }
# | 612:
# | 613: define <2 x i8> @test_vector_ssub_add_nsw_no_ov_nonsplat2(<2 x i8> %a, <2 x i8> %b) {
# | 614: %aa = add nsw <2 x i8> %a, <i8 7, i8 8>
# | 615: %bb = and <2 x i8> %b, splat (i8 7)
# | next:1191'0 X error: no match found
# | next:1191'1 with "AA" equal to "%aa"
# | next:1191'2 with "BB" equal to "%bb"
# | 616: %r = sub nsw <2 x i8> %aa, %bb
# | next:1191'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 617: ret <2 x i8> %r
# | next:1191'0 ~~~~~~~~~~~~~~~~~
# | 618: }
# | next:1191'0 ~~
# | 619:
# | next:1191'0 ~
# | 620: define <2 x i8> @test_vector_ssub_add_nsw_no_ov_nonsplat3(<2 x i8> %a, <2 x i8> %b) {
# | next:1191'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.Transforms/InstSimplify/icmp-constant.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\opt.exe < C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstSimplify\icmp-constant.ll -passes=instsimplify -S | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstSimplify\icmp-constant.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -passes=instsimplify -S
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstSimplify\icmp-constant.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstSimplify\icmp-constant.ll:639:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: ret i1 true
# | ^
# | <stdin>:284:28: note: scanning from here
# | define i1 @add_nsw_nuw_sgt(i8 %x) {
# | ^
# | <stdin>:287:2: note: possible intended match here
# | ret i1 %cmp
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstSimplify\icmp-constant.ll:672:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: ret i1 false
# | ^
# | <stdin>:300:28: note: scanning from here
# | define i1 @add_nsw_nuw_slt(i8 %x) {
# | ^
# | <stdin>:303:2: note: possible intended match here
# | ret i1 %cmp
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstSimplify\icmp-constant.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 279:
# | 280: define i1 @add_nsw_sgt(i8 %x) {
# | 281: ret i1 true
# | 282: }
# | 283:
# | 284: define i1 @add_nsw_nuw_sgt(i8 %x) {
# | next:639'0 X~~~~~~~~ error: no match found
# | 285: %add = add nuw nsw i8 %x, 5
# | next:639'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 286: %cmp = icmp sgt i8 %add, -124
# | next:639'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 287: ret i1 %cmp
# | next:639'0 ~~~~~~~~~~~~~
# | next:639'1 ? possible intended match
# | 288: }
# | next:639'0 ~~
# | 289:
# | next:639'0 ~
# | 290: define i1 @add_nsw_sgt_limit(i8 %x) {
# | next:639'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 291: %add = add nsw i8 %x, 4
# | 292: %cmp = icmp sgt i8 %add, -124
# | 293: ret i1 %cmp
# | 294: }
# | 295:
# | 296: define i1 @add_nsw_slt(i8 %x) {
# | 297: ret i1 false
# | 298: }
# | 299:
# | 300: define i1 @add_nsw_nuw_slt(i8 %x) {
# | next:672'0 X~~~~~~~~ error: no match found
# | 301: %add = add nuw nsw i8 %x, 5
# | next:672'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 302: %cmp = icmp slt i8 %add, -123
# | next:672'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 303: ret i1 %cmp
# | next:672'0 ~~~~~~~~~~~~~
# | next:672'1 ? possible intended match
# | 304: }
# | next:672'0 ~~
# | 305:
# | next:672'0 ~
# | 306: define i1 @add_nsw_slt_limit(i8 %x) {
# | next:672'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 307: %add = add nsw i8 %x, 5
# | 308: %cmp = icmp slt i8 %add, -122
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/181110
More information about the llvm-commits
mailing list