brintos

brintos / llvm-project-archived public Read only

0
0
Text · 429.6 KiB · c253f42 Raw
7068 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 52; RUN: llc -mtriple=amdgcn-- -mcpu=verde -amdgpu-use-divergent-register-indexing < %s | FileCheck --check-prefixes=GCN,SI,SIVI,MUBUF %s3; RUN: llc -mtriple=amdgcn-- -mcpu=gfx803 -mattr=-flat-for-global -amdgpu-use-divergent-register-indexing < %s | FileCheck --check-prefixes=GCN,VI,SIVI,MUBUF %s4; RUN: llc -mtriple=amdgcn-- -mcpu=gfx900 -mattr=-flat-for-global -amdgpu-use-divergent-register-indexing < %s | FileCheck --check-prefixes=GCN,GFX9PLUS,MUBUF,GFX9-MUBUF,GFX9_10-MUBUF %s5; RUN: llc -mtriple=amdgcn-- -mcpu=gfx900 -filetype=obj -amdgpu-use-divergent-register-indexing < %s | llvm-readobj -r - | FileCheck --check-prefix=RELS %s6; RUN: llc -mtriple=amdgcn-- -mcpu=gfx1010 -mattr=-flat-for-global -amdgpu-use-divergent-register-indexing < %s | FileCheck --check-prefixes=GCN,GFX9PLUS,MUBUF,GFX10_W32-MUBUF,GFX9_10-MUBUF %s7; RUN: llc -mtriple=amdgcn-- -mcpu=gfx1010 -mattr=-flat-for-global,+wavefrontsize64 -amdgpu-use-divergent-register-indexing < %s | FileCheck --check-prefixes=GCN,GFX9PLUS,MUBUF,GFX10_W64-MUBUF,GFX9_10-MUBUF %s8; RUN: llc -mtriple=amdgcn-- -mcpu=gfx900 -mattr=-flat-for-global,+enable-flat-scratch -amdgpu-use-divergent-register-indexing < %s | FileCheck --check-prefixes=GCN,GFX9PLUS,FLATSCR,GFX9-FLATSCR %s9; RUN: llc -mtriple=amdgcn-- -mcpu=gfx1030 -mattr=-flat-for-global,+enable-flat-scratch -amdgpu-use-divergent-register-indexing < %s | FileCheck --check-prefixes=GCN,GFX9PLUS,FLATSCR,GFX10-FLATSCR %s10; RUN: llc -mtriple=amdgcn--amdpal -mcpu=gfx900 -mattr=-flat-for-global,+enable-flat-scratch -amdgpu-use-divergent-register-indexing < %s | FileCheck --check-prefixes=GCN,GFX9PLUS,FLATSCR,GFX9-FLATSCR-PAL %s11; RUN: llc -mtriple=amdgcn--amdpal -mcpu=gfx1030 -mattr=-flat-for-global,+enable-flat-scratch -amdgpu-use-divergent-register-indexing < %s | FileCheck --check-prefixes=GCN,GFX9PLUS,FLATSCR,GFX10-FLATSCR-PAL %s12; RUN: llc -mtriple=amdgcn-- -mcpu=gfx1100 -mattr=-flat-for-global,+enable-flat-scratch -amdgpu-use-divergent-register-indexing < %s | FileCheck --check-prefixes=GCN,GFX9PLUS,GFX11-FLATSCR %s13; RUN: llc -mtriple=amdgcn--amdpal -mcpu=gfx1100 -mattr=-flat-for-global,+enable-flat-scratch -amdgpu-use-divergent-register-indexing < %s | FileCheck --check-prefixes=GCN,GFX9PLUS,GFX11-FLATSCR %s14 15; RELS: R_AMDGPU_ABS32_LO SCRATCH_RSRC_DWORD016; RELS: R_AMDGPU_ABS32_LO SCRATCH_RSRC_DWORD117 18; This used to fail due to a v_add_i32 instruction with an illegal immediate19; operand that was created during Local Stack Slot Allocation. Test case derived20; from https://bugs.freedesktop.org/show_bug.cgi?id=9660221 22define amdgpu_ps float @ps_main(i32 %idx) {23; SI-LABEL: ps_main:24; SI:       ; %bb.0:25; SI-NEXT:    s_mov_b32 s4, SCRATCH_RSRC_DWORD026; SI-NEXT:    s_mov_b32 s5, SCRATCH_RSRC_DWORD127; SI-NEXT:    s_mov_b32 s6, -128; SI-NEXT:    s_mov_b32 s7, 0xe8f00029; SI-NEXT:    s_add_u32 s4, s4, s030; SI-NEXT:    s_addc_u32 s5, s5, 031; SI-NEXT:    v_mov_b32_e32 v9, 0xbe31934f32; SI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:26433; SI-NEXT:    s_waitcnt expcnt(0)34; SI-NEXT:    v_mov_b32_e32 v9, 0xb704351935; SI-NEXT:    v_mov_b32_e32 v2, 0xbf20e7f436; SI-NEXT:    v_mov_b32_e32 v6, 0x3f638e3737; SI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:26038; SI-NEXT:    s_waitcnt expcnt(0)39; SI-NEXT:    v_mov_b32_e32 v9, 0xb702e75840; SI-NEXT:    v_lshlrev_b32_e32 v0, 2, v041; SI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:32042; SI-NEXT:    v_mov_b32_e32 v3, 0x3f3d349e43; SI-NEXT:    v_mov_b32_e32 v4, 0x3f523be144; SI-NEXT:    v_mov_b32_e32 v5, 0x3f5f2ee245; SI-NEXT:    buffer_store_dword v6, off, s[4:7], 0 offset:30446; SI-NEXT:    buffer_store_dword v5, off, s[4:7], 0 offset:30047; SI-NEXT:    buffer_store_dword v4, off, s[4:7], 0 offset:29648; SI-NEXT:    buffer_store_dword v3, off, s[4:7], 0 offset:29249; SI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:28850; SI-NEXT:    s_waitcnt expcnt(0)51; SI-NEXT:    v_mov_b32_e32 v2, 0xbefcd8a352; SI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:25653; SI-NEXT:    s_waitcnt expcnt(0)54; SI-NEXT:    v_mov_b32_e32 v9, 0x3e31934f55; SI-NEXT:    v_mov_b32_e32 v10, 0x3eae29d856; SI-NEXT:    v_mov_b32_e32 v11, 0x3efcd89c57; SI-NEXT:    v_mov_b32_e32 v14, 0xbf523be358; SI-NEXT:    v_mov_b32_e32 v16, 0xbf638e3959; SI-NEXT:    v_and_b32_e32 v0, 0x1fc, v060; SI-NEXT:    s_mov_b32 s0, 061; SI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:28462; SI-NEXT:    s_waitcnt expcnt(0)63; SI-NEXT:    v_mov_b32_e32 v2, 0xbefcd89f64; SI-NEXT:    v_mov_b32_e32 v7, 0xbeae29dc65; SI-NEXT:    v_mov_b32_e32 v8, 0xbe31935666; SI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:25267; SI-NEXT:    s_waitcnt expcnt(0)68; SI-NEXT:    v_mov_b32_e32 v9, 0x3e31935669; SI-NEXT:    buffer_store_dword v10, off, s[4:7], 0 offset:24470; SI-NEXT:    s_waitcnt expcnt(0)71; SI-NEXT:    v_mov_b32_e32 v10, 0x3eae29dc72; SI-NEXT:    buffer_store_dword v11, off, s[4:7], 0 offset:23673; SI-NEXT:    s_waitcnt expcnt(0)74; SI-NEXT:    v_mov_b32_e32 v11, 0x3efcd89f75; SI-NEXT:    v_mov_b32_e32 v12, 0xbf20e7f576; SI-NEXT:    v_mov_b32_e32 v13, 0xbf3d349e77; SI-NEXT:    buffer_store_dword v14, off, s[4:7], 0 offset:22078; SI-NEXT:    v_mov_b32_e32 v15, 0xbf5f2ee379; SI-NEXT:    buffer_store_dword v16, off, s[4:7], 0 offset:21280; SI-NEXT:    buffer_store_dword v15, off, s[4:7], 0 offset:20881; SI-NEXT:    buffer_store_dword v14, off, s[4:7], 0 offset:20482; SI-NEXT:    buffer_store_dword v13, off, s[4:7], 0 offset:20083; SI-NEXT:    s_waitcnt expcnt(1)84; SI-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f585; SI-NEXT:    v_add_i32_e32 v1, vcc, 0x200, v086; SI-NEXT:    v_add_i32_e32 v0, vcc, s0, v087; SI-NEXT:    buffer_store_dword v3, off, s[4:7], 0 offset:31688; SI-NEXT:    buffer_store_dword v4, off, s[4:7], 0 offset:31289; SI-NEXT:    buffer_store_dword v5, off, s[4:7], 0 offset:30890; SI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:28091; SI-NEXT:    buffer_store_dword v7, off, s[4:7], 0 offset:27692; SI-NEXT:    buffer_store_dword v7, off, s[4:7], 0 offset:27293; SI-NEXT:    buffer_store_dword v8, off, s[4:7], 0 offset:26894; SI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:24895; SI-NEXT:    buffer_store_dword v10, off, s[4:7], 0 offset:24096; SI-NEXT:    buffer_store_dword v11, off, s[4:7], 0 offset:23297; SI-NEXT:    buffer_store_dword v12, off, s[4:7], 0 offset:22898; SI-NEXT:    buffer_store_dword v13, off, s[4:7], 0 offset:22499; SI-NEXT:    buffer_store_dword v15, off, s[4:7], 0 offset:216100; SI-NEXT:    buffer_store_dword v14, off, s[4:7], 0 offset:196101; SI-NEXT:    v_mov_b32_e32 v17, 0x3f20e7f4102; SI-NEXT:    v_mov_b32_e32 v18, 0x3f3d349c103; SI-NEXT:    buffer_load_dword v0, v0, s[4:7], 0 offen104; SI-NEXT:    buffer_store_dword v17, off, s[4:7], 0 offset:832105; SI-NEXT:    buffer_store_dword v11, off, s[4:7], 0 offset:828106; SI-NEXT:    buffer_store_dword v10, off, s[4:7], 0 offset:824107; SI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:820108; SI-NEXT:    s_waitcnt expcnt(3)109; SI-NEXT:    v_mov_b32_e32 v17, 0x3703c499110; SI-NEXT:    buffer_store_dword v18, off, s[4:7], 0 offset:796111; SI-NEXT:    buffer_store_dword v13, off, s[4:7], 0 offset:792112; SI-NEXT:    buffer_store_dword v4, off, s[4:7], 0 offset:788113; SI-NEXT:    s_waitcnt expcnt(2)114; SI-NEXT:    v_mov_b32_e32 v18, 0xbf523be1115; SI-NEXT:    buffer_store_dword v17, off, s[4:7], 0 offset:816116; SI-NEXT:    buffer_store_dword v8, off, s[4:7], 0 offset:812117; SI-NEXT:    buffer_store_dword v7, off, s[4:7], 0 offset:808118; SI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:804119; SI-NEXT:    buffer_store_dword v12, off, s[4:7], 0 offset:800120; SI-NEXT:    buffer_store_dword v18, off, s[4:7], 0 offset:784121; SI-NEXT:    buffer_store_dword v5, off, s[4:7], 0 offset:780122; SI-NEXT:    buffer_store_dword v15, off, s[4:7], 0 offset:776123; SI-NEXT:    buffer_store_dword v6, off, s[4:7], 0 offset:772124; SI-NEXT:    buffer_store_dword v16, off, s[4:7], 0 offset:768125; SI-NEXT:    buffer_store_dword v5, off, s[4:7], 0 offset:764126; SI-NEXT:    s_waitcnt expcnt(0)127; SI-NEXT:    v_mov_b32_e32 v5, 0xbf5f2ee2128; SI-NEXT:    buffer_store_dword v5, off, s[4:7], 0 offset:760129; SI-NEXT:    buffer_store_dword v4, off, s[4:7], 0 offset:756130; SI-NEXT:    buffer_store_dword v18, off, s[4:7], 0 offset:752131; SI-NEXT:    buffer_store_dword v3, off, s[4:7], 0 offset:748132; SI-NEXT:    buffer_store_dword v13, off, s[4:7], 0 offset:744133; SI-NEXT:    buffer_store_dword v14, off, s[4:7], 0 offset:740134; SI-NEXT:    buffer_store_dword v11, off, s[4:7], 0 offset:736135; SI-NEXT:    buffer_store_dword v10, off, s[4:7], 0 offset:732136; SI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:728137; SI-NEXT:    buffer_store_dword v17, off, s[4:7], 0 offset:724138; SI-NEXT:    buffer_store_dword v8, off, s[4:7], 0 offset:720139; SI-NEXT:    buffer_store_dword v7, off, s[4:7], 0 offset:716140; SI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:712141; SI-NEXT:    buffer_store_dword v12, off, s[4:7], 0 offset:708142; SI-NEXT:    buffer_load_dword v1, v1, s[4:7], 0 offen143; SI-NEXT:    s_waitcnt vmcnt(0)144; SI-NEXT:    v_add_f32_e32 v0, v0, v1145; SI-NEXT:    s_waitcnt expcnt(0)146; SI-NEXT:    ; return to shader part epilog147;148; VI-LABEL: ps_main:149; VI:       ; %bb.0:150; VI-NEXT:    s_mov_b32 s4, SCRATCH_RSRC_DWORD0151; VI-NEXT:    s_mov_b32 s5, SCRATCH_RSRC_DWORD1152; VI-NEXT:    s_mov_b32 s6, -1153; VI-NEXT:    s_mov_b32 s7, 0xe80000154; VI-NEXT:    s_add_u32 s4, s4, s0155; VI-NEXT:    s_addc_u32 s5, s5, 0156; VI-NEXT:    v_mov_b32_e32 v9, 0xbe31934f157; VI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:264158; VI-NEXT:    v_mov_b32_e32 v9, 0xb7043519159; VI-NEXT:    v_mov_b32_e32 v2, 0xbf20e7f4160; VI-NEXT:    v_mov_b32_e32 v6, 0x3f638e37161; VI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:260162; VI-NEXT:    v_mov_b32_e32 v9, 0xb702e758163; VI-NEXT:    v_lshlrev_b32_e32 v0, 2, v0164; VI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:320165; VI-NEXT:    v_mov_b32_e32 v3, 0x3f3d349e166; VI-NEXT:    v_mov_b32_e32 v4, 0x3f523be1167; VI-NEXT:    v_mov_b32_e32 v5, 0x3f5f2ee2168; VI-NEXT:    buffer_store_dword v6, off, s[4:7], 0 offset:304169; VI-NEXT:    buffer_store_dword v5, off, s[4:7], 0 offset:300170; VI-NEXT:    buffer_store_dword v4, off, s[4:7], 0 offset:296171; VI-NEXT:    buffer_store_dword v3, off, s[4:7], 0 offset:292172; VI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:288173; VI-NEXT:    v_mov_b32_e32 v2, 0xbefcd8a3174; VI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:256175; VI-NEXT:    v_mov_b32_e32 v9, 0x3e31934f176; VI-NEXT:    v_mov_b32_e32 v10, 0x3eae29d8177; VI-NEXT:    v_mov_b32_e32 v11, 0x3efcd89c178; VI-NEXT:    v_mov_b32_e32 v14, 0xbf523be3179; VI-NEXT:    v_mov_b32_e32 v16, 0xbf638e39180; VI-NEXT:    v_and_b32_e32 v0, 0x1fc, v0181; VI-NEXT:    s_mov_b32 s0, 0182; VI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:284183; VI-NEXT:    v_mov_b32_e32 v2, 0xbefcd89f184; VI-NEXT:    v_mov_b32_e32 v7, 0xbeae29dc185; VI-NEXT:    v_mov_b32_e32 v8, 0xbe319356186; VI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:252187; VI-NEXT:    v_mov_b32_e32 v9, 0x3e319356188; VI-NEXT:    buffer_store_dword v10, off, s[4:7], 0 offset:244189; VI-NEXT:    v_mov_b32_e32 v10, 0x3eae29dc190; VI-NEXT:    buffer_store_dword v11, off, s[4:7], 0 offset:236191; VI-NEXT:    v_mov_b32_e32 v11, 0x3efcd89f192; VI-NEXT:    v_mov_b32_e32 v12, 0xbf20e7f5193; VI-NEXT:    v_mov_b32_e32 v13, 0xbf3d349e194; VI-NEXT:    buffer_store_dword v14, off, s[4:7], 0 offset:220195; VI-NEXT:    v_mov_b32_e32 v15, 0xbf5f2ee3196; VI-NEXT:    buffer_store_dword v16, off, s[4:7], 0 offset:212197; VI-NEXT:    buffer_store_dword v15, off, s[4:7], 0 offset:208198; VI-NEXT:    buffer_store_dword v14, off, s[4:7], 0 offset:204199; VI-NEXT:    buffer_store_dword v13, off, s[4:7], 0 offset:200200; VI-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f5201; VI-NEXT:    v_add_u32_e32 v1, vcc, 0x200, v0202; VI-NEXT:    v_add_u32_e32 v0, vcc, s0, v0203; VI-NEXT:    buffer_store_dword v3, off, s[4:7], 0 offset:316204; VI-NEXT:    buffer_store_dword v4, off, s[4:7], 0 offset:312205; VI-NEXT:    buffer_store_dword v5, off, s[4:7], 0 offset:308206; VI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:280207; VI-NEXT:    buffer_store_dword v7, off, s[4:7], 0 offset:276208; VI-NEXT:    buffer_store_dword v7, off, s[4:7], 0 offset:272209; VI-NEXT:    buffer_store_dword v8, off, s[4:7], 0 offset:268210; VI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:248211; VI-NEXT:    buffer_store_dword v10, off, s[4:7], 0 offset:240212; VI-NEXT:    buffer_store_dword v11, off, s[4:7], 0 offset:232213; VI-NEXT:    buffer_store_dword v12, off, s[4:7], 0 offset:228214; VI-NEXT:    buffer_store_dword v13, off, s[4:7], 0 offset:224215; VI-NEXT:    buffer_store_dword v15, off, s[4:7], 0 offset:216216; VI-NEXT:    buffer_store_dword v14, off, s[4:7], 0 offset:196217; VI-NEXT:    v_mov_b32_e32 v17, 0x3f20e7f4218; VI-NEXT:    v_mov_b32_e32 v18, 0x3f3d349c219; VI-NEXT:    buffer_load_dword v0, v0, s[4:7], 0 offen220; VI-NEXT:    buffer_store_dword v17, off, s[4:7], 0 offset:832221; VI-NEXT:    buffer_store_dword v11, off, s[4:7], 0 offset:828222; VI-NEXT:    buffer_store_dword v10, off, s[4:7], 0 offset:824223; VI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:820224; VI-NEXT:    v_mov_b32_e32 v17, 0x3703c499225; VI-NEXT:    buffer_store_dword v18, off, s[4:7], 0 offset:796226; VI-NEXT:    buffer_store_dword v13, off, s[4:7], 0 offset:792227; VI-NEXT:    buffer_store_dword v4, off, s[4:7], 0 offset:788228; VI-NEXT:    v_mov_b32_e32 v18, 0xbf523be1229; VI-NEXT:    buffer_store_dword v17, off, s[4:7], 0 offset:816230; VI-NEXT:    buffer_store_dword v8, off, s[4:7], 0 offset:812231; VI-NEXT:    buffer_store_dword v7, off, s[4:7], 0 offset:808232; VI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:804233; VI-NEXT:    buffer_store_dword v12, off, s[4:7], 0 offset:800234; VI-NEXT:    buffer_store_dword v18, off, s[4:7], 0 offset:784235; VI-NEXT:    buffer_store_dword v5, off, s[4:7], 0 offset:780236; VI-NEXT:    buffer_store_dword v15, off, s[4:7], 0 offset:776237; VI-NEXT:    buffer_store_dword v6, off, s[4:7], 0 offset:772238; VI-NEXT:    buffer_store_dword v16, off, s[4:7], 0 offset:768239; VI-NEXT:    buffer_store_dword v5, off, s[4:7], 0 offset:764240; VI-NEXT:    v_mov_b32_e32 v5, 0xbf5f2ee2241; VI-NEXT:    buffer_store_dword v5, off, s[4:7], 0 offset:760242; VI-NEXT:    buffer_store_dword v4, off, s[4:7], 0 offset:756243; VI-NEXT:    buffer_store_dword v18, off, s[4:7], 0 offset:752244; VI-NEXT:    buffer_store_dword v3, off, s[4:7], 0 offset:748245; VI-NEXT:    buffer_store_dword v13, off, s[4:7], 0 offset:744246; VI-NEXT:    buffer_store_dword v14, off, s[4:7], 0 offset:740247; VI-NEXT:    buffer_store_dword v11, off, s[4:7], 0 offset:736248; VI-NEXT:    buffer_store_dword v10, off, s[4:7], 0 offset:732249; VI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:728250; VI-NEXT:    buffer_store_dword v17, off, s[4:7], 0 offset:724251; VI-NEXT:    buffer_store_dword v8, off, s[4:7], 0 offset:720252; VI-NEXT:    buffer_store_dword v7, off, s[4:7], 0 offset:716253; VI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:712254; VI-NEXT:    buffer_store_dword v12, off, s[4:7], 0 offset:708255; VI-NEXT:    buffer_load_dword v1, v1, s[4:7], 0 offen256; VI-NEXT:    s_waitcnt vmcnt(0)257; VI-NEXT:    v_add_f32_e32 v0, v0, v1258; VI-NEXT:    ; return to shader part epilog259;260; GFX9-MUBUF-LABEL: ps_main:261; GFX9-MUBUF:       ; %bb.0:262; GFX9-MUBUF-NEXT:    s_mov_b32 s4, s0263; GFX9-MUBUF-NEXT:    s_mov_b32 s0, SCRATCH_RSRC_DWORD0264; GFX9-MUBUF-NEXT:    s_mov_b32 s1, SCRATCH_RSRC_DWORD1265; GFX9-MUBUF-NEXT:    s_mov_b32 s2, -1266; GFX9-MUBUF-NEXT:    s_mov_b32 s3, 0xe00000267; GFX9-MUBUF-NEXT:    s_add_u32 s0, s0, s4268; GFX9-MUBUF-NEXT:    s_addc_u32 s1, s1, 0269; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v9, 0xbe31934f270; GFX9-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:264271; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v9, 0xb7043519272; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v2, 0xbf20e7f4273; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v6, 0x3f638e37274; GFX9-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:260275; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v9, 0xb702e758276; GFX9-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:320277; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v3, 0x3f3d349e278; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v4, 0x3f523be1279; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v5, 0x3f5f2ee2280; GFX9-MUBUF-NEXT:    buffer_store_dword v6, off, s[0:3], 0 offset:304281; GFX9-MUBUF-NEXT:    buffer_store_dword v5, off, s[0:3], 0 offset:300282; GFX9-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:296283; GFX9-MUBUF-NEXT:    buffer_store_dword v3, off, s[0:3], 0 offset:292284; GFX9-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:288285; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v2, 0xbefcd8a3286; GFX9-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:256287; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v9, 0x3e31934f288; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v10, 0x3eae29d8289; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v11, 0x3efcd89c290; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v14, 0xbf523be3291; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v16, 0xbf638e39292; GFX9-MUBUF-NEXT:    v_lshlrev_b32_e32 v0, 2, v0293; GFX9-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:284294; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v2, 0xbefcd89f295; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v7, 0xbeae29dc296; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v8, 0xbe319356297; GFX9-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:252298; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v9, 0x3e319356299; GFX9-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:244300; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v10, 0x3eae29dc301; GFX9-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:236302; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v11, 0x3efcd89f303; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v12, 0xbf20e7f5304; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v13, 0xbf3d349e305; GFX9-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:220306; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v15, 0xbf5f2ee3307; GFX9-MUBUF-NEXT:    buffer_store_dword v16, off, s[0:3], 0 offset:212308; GFX9-MUBUF-NEXT:    buffer_store_dword v15, off, s[0:3], 0 offset:208309; GFX9-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:204310; GFX9-MUBUF-NEXT:    buffer_store_dword v13, off, s[0:3], 0 offset:200311; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f5312; GFX9-MUBUF-NEXT:    v_and_b32_e32 v0, 0x1fc, v0313; GFX9-MUBUF-NEXT:    buffer_store_dword v3, off, s[0:3], 0 offset:316314; GFX9-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:312315; GFX9-MUBUF-NEXT:    buffer_store_dword v5, off, s[0:3], 0 offset:308316; GFX9-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:280317; GFX9-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:276318; GFX9-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:272319; GFX9-MUBUF-NEXT:    buffer_store_dword v8, off, s[0:3], 0 offset:268320; GFX9-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:248321; GFX9-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:240322; GFX9-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:232323; GFX9-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:228324; GFX9-MUBUF-NEXT:    buffer_store_dword v13, off, s[0:3], 0 offset:224325; GFX9-MUBUF-NEXT:    buffer_store_dword v15, off, s[0:3], 0 offset:216326; GFX9-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:196327; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v17, 0x3f20e7f4328; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v18, 0x3f3d349c329; GFX9-MUBUF-NEXT:    v_add_u32_e32 v1, 0x200, v0330; GFX9-MUBUF-NEXT:    buffer_load_dword v0, v0, s[0:3], 0 offen331; GFX9-MUBUF-NEXT:    s_nop 0332; GFX9-MUBUF-NEXT:    buffer_store_dword v17, off, s[0:3], 0 offset:832333; GFX9-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:828334; GFX9-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:824335; GFX9-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:820336; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v17, 0x3703c499337; GFX9-MUBUF-NEXT:    buffer_store_dword v18, off, s[0:3], 0 offset:796338; GFX9-MUBUF-NEXT:    buffer_store_dword v13, off, s[0:3], 0 offset:792339; GFX9-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:788340; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v18, 0xbf523be1341; GFX9-MUBUF-NEXT:    buffer_store_dword v17, off, s[0:3], 0 offset:816342; GFX9-MUBUF-NEXT:    buffer_store_dword v8, off, s[0:3], 0 offset:812343; GFX9-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:808344; GFX9-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:804345; GFX9-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:800346; GFX9-MUBUF-NEXT:    buffer_store_dword v18, off, s[0:3], 0 offset:784347; GFX9-MUBUF-NEXT:    buffer_store_dword v5, off, s[0:3], 0 offset:780348; GFX9-MUBUF-NEXT:    buffer_store_dword v15, off, s[0:3], 0 offset:776349; GFX9-MUBUF-NEXT:    buffer_store_dword v6, off, s[0:3], 0 offset:772350; GFX9-MUBUF-NEXT:    buffer_store_dword v16, off, s[0:3], 0 offset:768351; GFX9-MUBUF-NEXT:    buffer_store_dword v5, off, s[0:3], 0 offset:764352; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v5, 0xbf5f2ee2353; GFX9-MUBUF-NEXT:    buffer_store_dword v5, off, s[0:3], 0 offset:760354; GFX9-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:756355; GFX9-MUBUF-NEXT:    buffer_store_dword v18, off, s[0:3], 0 offset:752356; GFX9-MUBUF-NEXT:    buffer_store_dword v3, off, s[0:3], 0 offset:748357; GFX9-MUBUF-NEXT:    buffer_store_dword v13, off, s[0:3], 0 offset:744358; GFX9-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:740359; GFX9-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:736360; GFX9-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:732361; GFX9-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:728362; GFX9-MUBUF-NEXT:    buffer_store_dword v17, off, s[0:3], 0 offset:724363; GFX9-MUBUF-NEXT:    buffer_store_dword v8, off, s[0:3], 0 offset:720364; GFX9-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:716365; GFX9-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:712366; GFX9-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:708367; GFX9-MUBUF-NEXT:    buffer_load_dword v1, v1, s[0:3], 0 offen368; GFX9-MUBUF-NEXT:    s_waitcnt vmcnt(0)369; GFX9-MUBUF-NEXT:    v_add_f32_e32 v0, v0, v1370; GFX9-MUBUF-NEXT:    ; return to shader part epilog371;372; GFX10_W32-MUBUF-LABEL: ps_main:373; GFX10_W32-MUBUF:       ; %bb.0:374; GFX10_W32-MUBUF-NEXT:    s_mov_b32 s4, s0375; GFX10_W32-MUBUF-NEXT:    s_mov_b32 s0, SCRATCH_RSRC_DWORD0376; GFX10_W32-MUBUF-NEXT:    s_mov_b32 s1, SCRATCH_RSRC_DWORD1377; GFX10_W32-MUBUF-NEXT:    s_mov_b32 s2, -1378; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v1, 0xbf20e7f4379; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v2, 0x3f3d349e380; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v3, 0x3f523be1381; GFX10_W32-MUBUF-NEXT:    s_mov_b32 s3, 0x31c16000382; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v4, 0x3f5f2ee2383; GFX10_W32-MUBUF-NEXT:    s_add_u32 s0, s0, s4384; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v5, 0x3f638e37385; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v7, 0xbefcd8a3386; GFX10_W32-MUBUF-NEXT:    s_addc_u32 s1, s1, 0387; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v8, 0xbefcd89f388; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v9, 0xbeae29dc389; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v1, off, s[0:3], 0 offset:320390; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:316391; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v3, off, s[0:3], 0 offset:312392; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:308393; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v5, off, s[0:3], 0 offset:304394; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:300395; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:292396; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v1, off, s[0:3], 0 offset:288397; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:284398; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v8, off, s[0:3], 0 offset:280399; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:276400; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:272401; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v1, 0xbe319356402; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v7, 0xbe31934f403; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v10, 0xb7043519404; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v11, 0xb702e758405; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v12, 0x3e31934f406; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v1, off, s[0:3], 0 offset:268407; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:264408; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:260409; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:256410; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:252411; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v7, 0x3e319356412; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v10, 0x3eae29d8413; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v11, 0x3eae29dc414; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v12, 0x3efcd89c415; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v13, 0x3efcd89f416; GFX10_W32-MUBUF-NEXT:    v_lshlrev_b32_e32 v0, 2, v0417; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:248418; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:244419; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:240420; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:236421; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v13, off, s[0:3], 0 offset:232422; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v10, 0xbf20e7f5423; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v15, 0xbf5f2ee3424; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v12, 0xbf3d349e425; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v14, 0xbf523be3426; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v16, 0xbf638e39427; GFX10_W32-MUBUF-NEXT:    v_and_b32_e32 v0, 0x1fc, v0428; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:228429; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:224430; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:220431; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v15, off, s[0:3], 0 offset:216432; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v16, off, s[0:3], 0 offset:212433; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v17, 0x3f20e7f5434; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v15, off, s[0:3], 0 offset:208435; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:204436; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f4437; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v3, off, s[0:3], 0 offset:296438; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:200439; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v17, off, s[0:3], 0 offset:196440; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v18, 0x3703c499441; GFX10_W32-MUBUF-NEXT:    v_add_nc_u32_e32 v6, 0x200, v0442; GFX10_W32-MUBUF-NEXT:    buffer_load_dword v0, v0, s[0:3], 0 offen443; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:832444; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v13, off, s[0:3], 0 offset:828445; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:824446; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:820447; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v18, off, s[0:3], 0 offset:816448; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v1, off, s[0:3], 0 offset:812449; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v14, 0x3f3d349c450; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v19, 0xbf523be1451; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:800452; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:796453; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:792454; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v3, off, s[0:3], 0 offset:788455; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v19, off, s[0:3], 0 offset:784456; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:780457; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v14, 0xbf5f2ee2458; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:808459; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v8, off, s[0:3], 0 offset:804460; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v15, off, s[0:3], 0 offset:776461; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v5, off, s[0:3], 0 offset:772462; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v16, off, s[0:3], 0 offset:768463; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:764464; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:760465; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v3, off, s[0:3], 0 offset:756466; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v19, off, s[0:3], 0 offset:752467; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:748468; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:744469; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v17, off, s[0:3], 0 offset:740470; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v13, off, s[0:3], 0 offset:736471; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:732472; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:728473; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v18, off, s[0:3], 0 offset:724474; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v1, off, s[0:3], 0 offset:720475; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:716476; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v8, off, s[0:3], 0 offset:712477; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:708478; GFX10_W32-MUBUF-NEXT:    buffer_load_dword v1, v6, s[0:3], 0 offen479; GFX10_W32-MUBUF-NEXT:    s_waitcnt vmcnt(0)480; GFX10_W32-MUBUF-NEXT:    v_add_f32_e32 v0, v0, v1481; GFX10_W32-MUBUF-NEXT:    ; return to shader part epilog482;483; GFX10_W64-MUBUF-LABEL: ps_main:484; GFX10_W64-MUBUF:       ; %bb.0:485; GFX10_W64-MUBUF-NEXT:    s_mov_b32 s4, s0486; GFX10_W64-MUBUF-NEXT:    s_mov_b32 s0, SCRATCH_RSRC_DWORD0487; GFX10_W64-MUBUF-NEXT:    s_mov_b32 s1, SCRATCH_RSRC_DWORD1488; GFX10_W64-MUBUF-NEXT:    s_mov_b32 s2, -1489; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v1, 0xbf20e7f4490; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v2, 0x3f3d349e491; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v3, 0x3f523be1492; GFX10_W64-MUBUF-NEXT:    s_mov_b32 s3, 0x31e16000493; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v4, 0x3f5f2ee2494; GFX10_W64-MUBUF-NEXT:    s_add_u32 s0, s0, s4495; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v5, 0x3f638e37496; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v7, 0xbefcd8a3497; GFX10_W64-MUBUF-NEXT:    s_addc_u32 s1, s1, 0498; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v8, 0xbefcd89f499; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v9, 0xbeae29dc500; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v1, off, s[0:3], 0 offset:320501; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:316502; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v3, off, s[0:3], 0 offset:312503; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:308504; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v5, off, s[0:3], 0 offset:304505; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:300506; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:292507; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v1, off, s[0:3], 0 offset:288508; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:284509; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v8, off, s[0:3], 0 offset:280510; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:276511; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:272512; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v1, 0xbe319356513; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v7, 0xbe31934f514; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v10, 0xb7043519515; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v11, 0xb702e758516; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v12, 0x3e31934f517; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v1, off, s[0:3], 0 offset:268518; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:264519; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:260520; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:256521; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:252522; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v7, 0x3e319356523; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v10, 0x3eae29d8524; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v11, 0x3eae29dc525; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v12, 0x3efcd89c526; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v13, 0x3efcd89f527; GFX10_W64-MUBUF-NEXT:    v_lshlrev_b32_e32 v0, 2, v0528; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:248529; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:244530; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:240531; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:236532; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v13, off, s[0:3], 0 offset:232533; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v10, 0xbf20e7f5534; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v15, 0xbf5f2ee3535; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v12, 0xbf3d349e536; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v14, 0xbf523be3537; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v16, 0xbf638e39538; GFX10_W64-MUBUF-NEXT:    v_and_b32_e32 v0, 0x1fc, v0539; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:228540; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:224541; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:220542; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v15, off, s[0:3], 0 offset:216543; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v16, off, s[0:3], 0 offset:212544; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v17, 0x3f20e7f5545; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v15, off, s[0:3], 0 offset:208546; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:204547; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f4548; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v3, off, s[0:3], 0 offset:296549; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:200550; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v17, off, s[0:3], 0 offset:196551; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v18, 0x3703c499552; GFX10_W64-MUBUF-NEXT:    v_add_nc_u32_e32 v6, 0x200, v0553; GFX10_W64-MUBUF-NEXT:    buffer_load_dword v0, v0, s[0:3], 0 offen554; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:832555; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v13, off, s[0:3], 0 offset:828556; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:824557; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:820558; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v18, off, s[0:3], 0 offset:816559; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v1, off, s[0:3], 0 offset:812560; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v14, 0x3f3d349c561; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v19, 0xbf523be1562; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:800563; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:796564; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:792565; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v3, off, s[0:3], 0 offset:788566; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v19, off, s[0:3], 0 offset:784567; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:780568; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v14, 0xbf5f2ee2569; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:808570; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v8, off, s[0:3], 0 offset:804571; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v15, off, s[0:3], 0 offset:776572; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v5, off, s[0:3], 0 offset:772573; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v16, off, s[0:3], 0 offset:768574; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:764575; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:760576; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v3, off, s[0:3], 0 offset:756577; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v19, off, s[0:3], 0 offset:752578; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:748579; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:744580; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v17, off, s[0:3], 0 offset:740581; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v13, off, s[0:3], 0 offset:736582; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:732583; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:728584; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v18, off, s[0:3], 0 offset:724585; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v1, off, s[0:3], 0 offset:720586; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:716587; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v8, off, s[0:3], 0 offset:712588; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:708589; GFX10_W64-MUBUF-NEXT:    buffer_load_dword v1, v6, s[0:3], 0 offen590; GFX10_W64-MUBUF-NEXT:    s_waitcnt vmcnt(0)591; GFX10_W64-MUBUF-NEXT:    v_add_f32_e32 v0, v0, v1592; GFX10_W64-MUBUF-NEXT:    ; return to shader part epilog593;594; GFX9-FLATSCR-LABEL: ps_main:595; GFX9-FLATSCR:       ; %bb.0:596; GFX9-FLATSCR-NEXT:    s_add_u32 flat_scratch_lo, s0, s2597; GFX9-FLATSCR-NEXT:    v_lshlrev_b32_e32 v0, 2, v0598; GFX9-FLATSCR-NEXT:    s_addc_u32 flat_scratch_hi, s1, 0599; GFX9-FLATSCR-NEXT:    v_and_b32_e32 v30, 0x1fc, v0600; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v0, 0xbf20e7f4601; GFX9-FLATSCR-NEXT:    s_mov_b32 s0, 0602; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v27, 0x3f5f2ee2603; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v28, 0x3f523be1604; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v29, 0x3f3d349e605; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:320606; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v17, 0xbeae29dc607; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v1, v29608; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v2, v28609; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v3, v27610; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v11, 0xbf3d349e611; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v12, 0xbf20e7f5612; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v13, 0x3efcd89f613; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v14, 0x3efcd89c614; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v22, 0xbf5f2ee3615; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v25, 0xbf523be3616; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v26, 0x3f638e37617; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:288618; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v19, 0xbefcd89f619; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v20, 0xbefcd8a3620; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v18, v17621; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v0, 0xb702e758622; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v1, 0xb7043519623; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v2, 0xbe31934f624; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v3, 0xbe319356625; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v6, 0x3eae29dc626; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v7, 0x3eae29d8627; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v8, 0x3e319356628; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v9, 0x3e31934f629; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[11:14], s0 offset:224630; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v23, 0xbf638e39631; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v24, v22632; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f5633; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v15, v11634; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v16, v25635; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[26:29], s0 offset:304636; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[17:20], s0 offset:272637; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:256638; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[6:9], s0 offset:240639; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[22:25], s0 offset:208640; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[13:16], s0 offset:192641; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v0, v30642; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v7, 0x3703c499643; GFX9-FLATSCR-NEXT:    scratch_load_dword v31, v0, off644; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v4, v7645; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v5, v8646; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v0, 0x3f20e7f4647; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v21, v3648; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[3:6], s0 offset:720649; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:832650; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v16, v29651; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v0, 0xbf523be1652; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v3, 0x3f3d349c653; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v1, v28654; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v2, v11655; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v9, v6656; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v10, v13657; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v24, v26658; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v25, v22659; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v26, v27660; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:784661; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v18, v12662; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v2, 0xbf5f2ee2663; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v3, v27664; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v20, v17665; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[13:16], s0 offset:736666; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[7:10], s0 offset:816667; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v13, v19668; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v14, v17669; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[23:26], s0 offset:768670; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:752671; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[18:21], s0 offset:800672; GFX9-FLATSCR-NEXT:    v_add_u32_e32 v0, 0x200, v30673; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[11:14], s0 offset:704674; GFX9-FLATSCR-NEXT:    scratch_load_dword v0, v0, off675; GFX9-FLATSCR-NEXT:    s_waitcnt vmcnt(0)676; GFX9-FLATSCR-NEXT:    v_add_f32_e32 v0, v31, v0677; GFX9-FLATSCR-NEXT:    ; return to shader part epilog678;679; GFX10-FLATSCR-LABEL: ps_main:680; GFX10-FLATSCR:       ; %bb.0:681; GFX10-FLATSCR-NEXT:    s_add_u32 s0, s0, s2682; GFX10-FLATSCR-NEXT:    s_addc_u32 s1, s1, 0683; GFX10-FLATSCR-NEXT:    s_setreg_b32 hwreg(HW_REG_FLAT_SCR_LO), s0684; GFX10-FLATSCR-NEXT:    s_setreg_b32 hwreg(HW_REG_FLAT_SCR_HI), s1685; GFX10-FLATSCR-NEXT:    v_lshlrev_b32_e32 v0, 2, v0686; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v1, 0xbf20e7f4687; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v27, 0x3f5f2ee2688; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v29, 0x3f3d349e689; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v28, 0x3f523be1690; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v17, 0xbeae29dc691; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v26, 0x3f638e37692; GFX10-FLATSCR-NEXT:    v_and_b32_e32 v0, 0x1fc, v0693; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[1:4], off offset:320694; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v2, v29695; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v3, v28696; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v4, v27697; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v22, 0xbf5f2ee3698; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v19, 0xbefcd89f699; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v20, 0xbefcd8a3700; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v18, v17701; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v11, 0xbf3d349e702; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v12, 0xbf20e7f5703; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v13, 0x3efcd89f704; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v14, 0x3efcd89c705; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v25, 0xbf523be3706; GFX10-FLATSCR-NEXT:    v_add_nc_u32_e32 v34, 0x200, v0707; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v5, v0708; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[26:29], off offset:304709; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[1:4], off offset:288710; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[17:20], off offset:272711; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v0, 0xb702e758712; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v1, 0xb7043519713; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v2, 0xbe31934f714; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v3, 0xbe319356715; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v6, 0x3eae29dc716; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v7, 0x3eae29d8717; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v8, 0x3e319356718; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v9, 0x3e31934f719; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v23, 0xbf638e39720; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v24, v22721; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[11:14], off offset:224722; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f5723; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v15, v11724; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v16, v25725; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[0:3], off offset:256726; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[6:9], off offset:240727; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[22:25], off offset:208728; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[13:16], off offset:192729; GFX10-FLATSCR-NEXT:    scratch_load_dword v1, v5, off730; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v30, 0xbf523be1731; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v33, 0x3f3d349c732; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v31, v28733; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v32, v11734; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v7, 0x3703c499735; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v16, v29736; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v0, 0x3f20e7f4737; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v9, v6738; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v10, v13739; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v18, v12740; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v20, v17741; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v21, v3742; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v24, v26743; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v25, v22744; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v26, v27745; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[30:33], off offset:784746; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v32, 0xbf5f2ee2747; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v33, v27748; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v4, v7749; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v5, v8750; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[13:16], off offset:736751; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v13, v19752; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v14, v17753; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[7:10], off offset:816754; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[18:21], off offset:800755; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[23:26], off offset:768756; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[30:33], off offset:752757; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[3:6], off offset:720758; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[11:14], off offset:704759; GFX10-FLATSCR-NEXT:    s_waitcnt vmcnt(0)760; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[0:3], off offset:832761; GFX10-FLATSCR-NEXT:    scratch_load_dword v0, v34, off762; GFX10-FLATSCR-NEXT:    s_waitcnt vmcnt(0)763; GFX10-FLATSCR-NEXT:    v_add_f32_e32 v0, v1, v0764; GFX10-FLATSCR-NEXT:    ; return to shader part epilog765;766; GFX9-FLATSCR-PAL-LABEL: ps_main:767; GFX9-FLATSCR-PAL:       ; %bb.0:768; GFX9-FLATSCR-PAL-NEXT:    s_getpc_b64 s[2:3]769; GFX9-FLATSCR-PAL-NEXT:    s_mov_b32 s2, s0770; GFX9-FLATSCR-PAL-NEXT:    s_load_dwordx2 s[2:3], s[2:3], 0x0771; GFX9-FLATSCR-PAL-NEXT:    v_lshlrev_b32_e32 v0, 2, v0772; GFX9-FLATSCR-PAL-NEXT:    v_and_b32_e32 v30, 0x1fc, v0773; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v0, 0xbf20e7f4774; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v27, 0x3f5f2ee2775; GFX9-FLATSCR-PAL-NEXT:    s_waitcnt lgkmcnt(0)776; GFX9-FLATSCR-PAL-NEXT:    s_and_b32 s3, s3, 0xffff777; GFX9-FLATSCR-PAL-NEXT:    s_add_u32 flat_scratch_lo, s2, s0778; GFX9-FLATSCR-PAL-NEXT:    s_addc_u32 flat_scratch_hi, s3, 0779; GFX9-FLATSCR-PAL-NEXT:    s_mov_b32 s0, 0780; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v28, 0x3f523be1781; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v29, 0x3f3d349e782; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:320783; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v17, 0xbeae29dc784; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v1, v29785; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v2, v28786; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v3, v27787; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v11, 0xbf3d349e788; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v12, 0xbf20e7f5789; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v13, 0x3efcd89f790; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v14, 0x3efcd89c791; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v22, 0xbf5f2ee3792; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v25, 0xbf523be3793; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v26, 0x3f638e37794; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:288795; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v19, 0xbefcd89f796; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v20, 0xbefcd8a3797; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v18, v17798; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v0, 0xb702e758799; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v1, 0xb7043519800; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v2, 0xbe31934f801; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v3, 0xbe319356802; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v6, 0x3eae29dc803; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v7, 0x3eae29d8804; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v8, 0x3e319356805; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v9, 0x3e31934f806; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[11:14], s0 offset:224807; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v23, 0xbf638e39808; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v24, v22809; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f5810; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v15, v11811; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v16, v25812; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[26:29], s0 offset:304813; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[17:20], s0 offset:272814; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:256815; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[6:9], s0 offset:240816; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[22:25], s0 offset:208817; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[13:16], s0 offset:192818; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v0, v30819; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v7, 0x3703c499820; GFX9-FLATSCR-PAL-NEXT:    scratch_load_dword v31, v0, off821; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v4, v7822; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v5, v8823; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v0, 0x3f20e7f4824; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v21, v3825; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[3:6], s0 offset:720826; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:832827; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v16, v29828; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v0, 0xbf523be1829; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v3, 0x3f3d349c830; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v1, v28831; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v2, v11832; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v9, v6833; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v10, v13834; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v24, v26835; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v25, v22836; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v26, v27837; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:784838; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v18, v12839; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v2, 0xbf5f2ee2840; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v3, v27841; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v20, v17842; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[13:16], s0 offset:736843; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[7:10], s0 offset:816844; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v13, v19845; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v14, v17846; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[23:26], s0 offset:768847; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:752848; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[18:21], s0 offset:800849; GFX9-FLATSCR-PAL-NEXT:    v_add_u32_e32 v0, 0x200, v30850; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[11:14], s0 offset:704851; GFX9-FLATSCR-PAL-NEXT:    scratch_load_dword v0, v0, off852; GFX9-FLATSCR-PAL-NEXT:    s_waitcnt vmcnt(0)853; GFX9-FLATSCR-PAL-NEXT:    v_add_f32_e32 v0, v31, v0854; GFX9-FLATSCR-PAL-NEXT:    ; return to shader part epilog855;856; GFX10-FLATSCR-PAL-LABEL: ps_main:857; GFX10-FLATSCR-PAL:       ; %bb.0:858; GFX10-FLATSCR-PAL-NEXT:    s_getpc_b64 s[2:3]859; GFX10-FLATSCR-PAL-NEXT:    s_mov_b32 s2, s0860; GFX10-FLATSCR-PAL-NEXT:    s_load_dwordx2 s[2:3], s[2:3], 0x0861; GFX10-FLATSCR-PAL-NEXT:    s_waitcnt lgkmcnt(0)862; GFX10-FLATSCR-PAL-NEXT:    s_and_b32 s3, s3, 0xffff863; GFX10-FLATSCR-PAL-NEXT:    s_add_u32 s2, s2, s0864; GFX10-FLATSCR-PAL-NEXT:    s_addc_u32 s3, s3, 0865; GFX10-FLATSCR-PAL-NEXT:    s_setreg_b32 hwreg(HW_REG_FLAT_SCR_LO), s2866; GFX10-FLATSCR-PAL-NEXT:    s_setreg_b32 hwreg(HW_REG_FLAT_SCR_HI), s3867; GFX10-FLATSCR-PAL-NEXT:    v_lshlrev_b32_e32 v0, 2, v0868; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v1, 0xbf20e7f4869; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v27, 0x3f5f2ee2870; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v29, 0x3f3d349e871; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v28, 0x3f523be1872; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v17, 0xbeae29dc873; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v26, 0x3f638e37874; GFX10-FLATSCR-PAL-NEXT:    v_and_b32_e32 v0, 0x1fc, v0875; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[1:4], off offset:320876; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v2, v29877; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v3, v28878; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v4, v27879; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v22, 0xbf5f2ee3880; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v19, 0xbefcd89f881; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v20, 0xbefcd8a3882; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v18, v17883; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v11, 0xbf3d349e884; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v12, 0xbf20e7f5885; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v13, 0x3efcd89f886; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v14, 0x3efcd89c887; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v25, 0xbf523be3888; GFX10-FLATSCR-PAL-NEXT:    v_add_nc_u32_e32 v34, 0x200, v0889; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v5, v0890; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[26:29], off offset:304891; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[1:4], off offset:288892; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[17:20], off offset:272893; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v0, 0xb702e758894; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v1, 0xb7043519895; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v2, 0xbe31934f896; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v3, 0xbe319356897; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v6, 0x3eae29dc898; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v7, 0x3eae29d8899; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v8, 0x3e319356900; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v9, 0x3e31934f901; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v23, 0xbf638e39902; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v24, v22903; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[11:14], off offset:224904; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f5905; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v15, v11906; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v16, v25907; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[0:3], off offset:256908; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[6:9], off offset:240909; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[22:25], off offset:208910; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[13:16], off offset:192911; GFX10-FLATSCR-PAL-NEXT:    scratch_load_dword v1, v5, off912; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v30, 0xbf523be1913; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v33, 0x3f3d349c914; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v31, v28915; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v32, v11916; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v7, 0x3703c499917; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v16, v29918; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v0, 0x3f20e7f4919; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v9, v6920; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v10, v13921; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v18, v12922; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v20, v17923; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v21, v3924; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v24, v26925; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v25, v22926; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v26, v27927; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[30:33], off offset:784928; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v32, 0xbf5f2ee2929; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v33, v27930; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v4, v7931; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v5, v8932; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[13:16], off offset:736933; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v13, v19934; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v14, v17935; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[7:10], off offset:816936; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[18:21], off offset:800937; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[23:26], off offset:768938; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[30:33], off offset:752939; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[3:6], off offset:720940; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[11:14], off offset:704941; GFX10-FLATSCR-PAL-NEXT:    s_waitcnt vmcnt(0)942; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[0:3], off offset:832943; GFX10-FLATSCR-PAL-NEXT:    scratch_load_dword v0, v34, off944; GFX10-FLATSCR-PAL-NEXT:    s_waitcnt vmcnt(0)945; GFX10-FLATSCR-PAL-NEXT:    v_add_f32_e32 v0, v1, v0946; GFX10-FLATSCR-PAL-NEXT:    ; return to shader part epilog947;948; GFX11-FLATSCR-LABEL: ps_main:949; GFX11-FLATSCR:       ; %bb.0:950; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v21, 0xbf5f2ee3951; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v1, 0xbf20e7f4 :: v_dual_lshlrev_b32 v0, 2, v0952; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v28, 0x3f3d349e953; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v7, 0x3eae29d8954; GFX11-FLATSCR-NEXT:    s_delay_alu instid0(VALU_DEP_4)955; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v23, v21956; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v27, 0x3f523be1957; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[1:4], off offset:320958; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v2, v28959; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v26, 0x3f5f2ee2960; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v19, 0xbefcd89f :: v_dual_mov_b32 v30, v27961; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v3, v27962; GFX11-FLATSCR-NEXT:    s_delay_alu instid0(VALU_DEP_3)963; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v25, 0x3f638e37 :: v_dual_mov_b32 v4, v26964; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v24, 0xbf523be3965; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v17, 0xbeae29dc966; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v11, 0xbf3d349e967; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v6, 0x3eae29dc968; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v8, 0x3e319356969; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v9, 0x3e31934f970; GFX11-FLATSCR-NEXT:    s_clause 0x1971; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[25:28], off offset:304972; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[1:4], off offset:288973; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v12, 0xbf20e7f5974; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v13, 0x3efcd89f :: v_dual_mov_b32 v16, v24975; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v3, 0xbe319356976; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v14, 0x3efcd89c977; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v18, v17 :: v_dual_and_b32 v33, 0x1fc, v0978; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v20, 0xbefcd8a3 :: v_dual_mov_b32 v15, v11979; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v1, 0xb7043519 :: v_dual_mov_b32 v10, v13980; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v2, 0xbe31934f :: v_dual_mov_b32 v31, v11981; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v0, 0xb702e758982; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v22, 0xbf638e39983; GFX11-FLATSCR-NEXT:    s_clause 0x1984; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[6:9], off offset:240985; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[11:14], off offset:224986; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v14, 0x3f20e7f5 :: v_dual_mov_b32 v9, v6987; GFX11-FLATSCR-NEXT:    s_clause 0x3988; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[17:20], off offset:272989; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[0:3], off offset:256990; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[21:24], off offset:208991; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[13:16], off offset:192992; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v4, 0x3f20e7f4993; GFX11-FLATSCR-NEXT:    scratch_load_b32 v0, v33, off994; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v29, 0xbf523be1995; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v32, 0x3f3d349c996; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v24, v21997; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[4:7], off offset:832998; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v7, 0x3703c499 :: v_dual_mov_b32 v16, v28999; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[29:32], off offset:7841000; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v31, 0xbf5f2ee2 :: v_dual_mov_b32 v32, v261001; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v23, v251002; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v25, v26 :: v_dual_mov_b32 v18, v121003; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v20, v17 :: v_dual_mov_b32 v21, v31004; GFX11-FLATSCR-NEXT:    s_clause 0x11005; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[29:32], off offset:7521006; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[13:16], off offset:7361007; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v5, v8 :: v_dual_mov_b32 v14, v171008; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v4, v71009; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v13, v191010; GFX11-FLATSCR-NEXT:    s_clause 0x41011; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[7:10], off offset:8161012; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[18:21], off offset:8001013; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[22:25], off offset:7681014; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[3:6], off offset:7201015; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[11:14], off offset:7041016; GFX11-FLATSCR-NEXT:    scratch_load_b32 v1, v33, off offset:5121017; GFX11-FLATSCR-NEXT:    s_waitcnt vmcnt(0)1018; GFX11-FLATSCR-NEXT:    v_add_f32_e32 v0, v0, v11019; GFX11-FLATSCR-NEXT:    ; return to shader part epilog1020  %v1 = extractelement <81 x float> <float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float 0x3FE41CFEA0000000, float 0xBFE7A693C0000000, float 0xBFEA477C60000000, float 0xBFEBE5DC60000000, float 0xBFEC71C720000000, float 0xBFEBE5DC60000000, float 0xBFEA477C60000000, float 0xBFE7A693C0000000, float 0xBFE41CFEA0000000, float 0x3FDF9B13E0000000, float 0x3FDF9B1380000000, float 0x3FD5C53B80000000, float 0x3FD5C53B00000000, float 0x3FC6326AC0000000, float 0x3FC63269E0000000, float 0xBEE05CEB00000000, float 0xBEE086A320000000, float 0xBFC63269E0000000, float 0xBFC6326AC0000000, float 0xBFD5C53B80000000, float 0xBFD5C53B80000000, float 0xBFDF9B13E0000000, float 0xBFDF9B1460000000, float 0xBFE41CFE80000000, float 0x3FE7A693C0000000, float 0x3FEA477C20000000, float 0x3FEBE5DC40000000, float 0x3FEC71C6E0000000, float 0x3FEBE5DC40000000, float 0x3FEA477C20000000, float 0x3FE7A693C0000000, float 0xBFE41CFE80000000>, i32 %idx1021  %v2 = extractelement <81 x float> <float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float 0xBFE41CFEA0000000, float 0xBFDF9B13E0000000, float 0xBFD5C53B80000000, float 0xBFC6326AC0000000, float 0x3EE0789320000000, float 0x3FC6326AC0000000, float 0x3FD5C53B80000000, float 0x3FDF9B13E0000000, float 0x3FE41CFEA0000000, float 0xBFE7A693C0000000, float 0x3FE7A693C0000000, float 0xBFEA477C20000000, float 0x3FEA477C20000000, float 0xBFEBE5DC40000000, float 0x3FEBE5DC40000000, float 0xBFEC71C720000000, float 0x3FEC71C6E0000000, float 0xBFEBE5DC60000000, float 0x3FEBE5DC40000000, float 0xBFEA477C20000000, float 0x3FEA477C20000000, float 0xBFE7A693C0000000, float 0x3FE7A69380000000, float 0xBFE41CFEA0000000, float 0xBFDF9B13E0000000, float 0xBFD5C53B80000000, float 0xBFC6326AC0000000, float 0x3EE0789320000000, float 0x3FC6326AC0000000, float 0x3FD5C53B80000000, float 0x3FDF9B13E0000000, float 0x3FE41CFE80000000>, i32 %idx1022  %r = fadd float %v1, %v21023  ret float %r1024}1025 1026define amdgpu_vs float @vs_main(i32 %idx) {1027; SI-LABEL: vs_main:1028; SI:       ; %bb.0:1029; SI-NEXT:    s_mov_b32 s4, SCRATCH_RSRC_DWORD01030; SI-NEXT:    s_mov_b32 s5, SCRATCH_RSRC_DWORD11031; SI-NEXT:    s_mov_b32 s6, -11032; SI-NEXT:    s_mov_b32 s7, 0xe8f0001033; SI-NEXT:    s_add_u32 s4, s4, s01034; SI-NEXT:    s_addc_u32 s5, s5, 01035; SI-NEXT:    v_mov_b32_e32 v9, 0xbe31934f1036; SI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:2641037; SI-NEXT:    s_waitcnt expcnt(0)1038; SI-NEXT:    v_mov_b32_e32 v9, 0xb70435191039; SI-NEXT:    v_mov_b32_e32 v2, 0xbf20e7f41040; SI-NEXT:    v_mov_b32_e32 v6, 0x3f638e371041; SI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:2601042; SI-NEXT:    s_waitcnt expcnt(0)1043; SI-NEXT:    v_mov_b32_e32 v9, 0xb702e7581044; SI-NEXT:    v_lshlrev_b32_e32 v0, 2, v01045; SI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:3201046; SI-NEXT:    v_mov_b32_e32 v3, 0x3f3d349e1047; SI-NEXT:    v_mov_b32_e32 v4, 0x3f523be11048; SI-NEXT:    v_mov_b32_e32 v5, 0x3f5f2ee21049; SI-NEXT:    buffer_store_dword v6, off, s[4:7], 0 offset:3041050; SI-NEXT:    buffer_store_dword v5, off, s[4:7], 0 offset:3001051; SI-NEXT:    buffer_store_dword v4, off, s[4:7], 0 offset:2961052; SI-NEXT:    buffer_store_dword v3, off, s[4:7], 0 offset:2921053; SI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:2881054; SI-NEXT:    s_waitcnt expcnt(0)1055; SI-NEXT:    v_mov_b32_e32 v2, 0xbefcd8a31056; SI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:2561057; SI-NEXT:    s_waitcnt expcnt(0)1058; SI-NEXT:    v_mov_b32_e32 v9, 0x3e31934f1059; SI-NEXT:    v_mov_b32_e32 v10, 0x3eae29d81060; SI-NEXT:    v_mov_b32_e32 v11, 0x3efcd89c1061; SI-NEXT:    v_mov_b32_e32 v14, 0xbf523be31062; SI-NEXT:    v_mov_b32_e32 v16, 0xbf638e391063; SI-NEXT:    v_and_b32_e32 v0, 0x1fc, v01064; SI-NEXT:    s_mov_b32 s0, 01065; SI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:2841066; SI-NEXT:    s_waitcnt expcnt(0)1067; SI-NEXT:    v_mov_b32_e32 v2, 0xbefcd89f1068; SI-NEXT:    v_mov_b32_e32 v7, 0xbeae29dc1069; SI-NEXT:    v_mov_b32_e32 v8, 0xbe3193561070; SI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:2521071; SI-NEXT:    s_waitcnt expcnt(0)1072; SI-NEXT:    v_mov_b32_e32 v9, 0x3e3193561073; SI-NEXT:    buffer_store_dword v10, off, s[4:7], 0 offset:2441074; SI-NEXT:    s_waitcnt expcnt(0)1075; SI-NEXT:    v_mov_b32_e32 v10, 0x3eae29dc1076; SI-NEXT:    buffer_store_dword v11, off, s[4:7], 0 offset:2361077; SI-NEXT:    s_waitcnt expcnt(0)1078; SI-NEXT:    v_mov_b32_e32 v11, 0x3efcd89f1079; SI-NEXT:    v_mov_b32_e32 v12, 0xbf20e7f51080; SI-NEXT:    v_mov_b32_e32 v13, 0xbf3d349e1081; SI-NEXT:    buffer_store_dword v14, off, s[4:7], 0 offset:2201082; SI-NEXT:    v_mov_b32_e32 v15, 0xbf5f2ee31083; SI-NEXT:    buffer_store_dword v16, off, s[4:7], 0 offset:2121084; SI-NEXT:    buffer_store_dword v15, off, s[4:7], 0 offset:2081085; SI-NEXT:    buffer_store_dword v14, off, s[4:7], 0 offset:2041086; SI-NEXT:    buffer_store_dword v13, off, s[4:7], 0 offset:2001087; SI-NEXT:    s_waitcnt expcnt(1)1088; SI-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f51089; SI-NEXT:    v_add_i32_e32 v1, vcc, 0x200, v01090; SI-NEXT:    v_add_i32_e32 v0, vcc, s0, v01091; SI-NEXT:    buffer_store_dword v3, off, s[4:7], 0 offset:3161092; SI-NEXT:    buffer_store_dword v4, off, s[4:7], 0 offset:3121093; SI-NEXT:    buffer_store_dword v5, off, s[4:7], 0 offset:3081094; SI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:2801095; SI-NEXT:    buffer_store_dword v7, off, s[4:7], 0 offset:2761096; SI-NEXT:    buffer_store_dword v7, off, s[4:7], 0 offset:2721097; SI-NEXT:    buffer_store_dword v8, off, s[4:7], 0 offset:2681098; SI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:2481099; SI-NEXT:    buffer_store_dword v10, off, s[4:7], 0 offset:2401100; SI-NEXT:    buffer_store_dword v11, off, s[4:7], 0 offset:2321101; SI-NEXT:    buffer_store_dword v12, off, s[4:7], 0 offset:2281102; SI-NEXT:    buffer_store_dword v13, off, s[4:7], 0 offset:2241103; SI-NEXT:    buffer_store_dword v15, off, s[4:7], 0 offset:2161104; SI-NEXT:    buffer_store_dword v14, off, s[4:7], 0 offset:1961105; SI-NEXT:    v_mov_b32_e32 v17, 0x3f20e7f41106; SI-NEXT:    v_mov_b32_e32 v18, 0x3f3d349c1107; SI-NEXT:    buffer_load_dword v0, v0, s[4:7], 0 offen1108; SI-NEXT:    buffer_store_dword v17, off, s[4:7], 0 offset:8321109; SI-NEXT:    buffer_store_dword v11, off, s[4:7], 0 offset:8281110; SI-NEXT:    buffer_store_dword v10, off, s[4:7], 0 offset:8241111; SI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:8201112; SI-NEXT:    s_waitcnt expcnt(3)1113; SI-NEXT:    v_mov_b32_e32 v17, 0x3703c4991114; SI-NEXT:    buffer_store_dword v18, off, s[4:7], 0 offset:7961115; SI-NEXT:    buffer_store_dword v13, off, s[4:7], 0 offset:7921116; SI-NEXT:    buffer_store_dword v4, off, s[4:7], 0 offset:7881117; SI-NEXT:    s_waitcnt expcnt(2)1118; SI-NEXT:    v_mov_b32_e32 v18, 0xbf523be11119; SI-NEXT:    buffer_store_dword v17, off, s[4:7], 0 offset:8161120; SI-NEXT:    buffer_store_dword v8, off, s[4:7], 0 offset:8121121; SI-NEXT:    buffer_store_dword v7, off, s[4:7], 0 offset:8081122; SI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:8041123; SI-NEXT:    buffer_store_dword v12, off, s[4:7], 0 offset:8001124; SI-NEXT:    buffer_store_dword v18, off, s[4:7], 0 offset:7841125; SI-NEXT:    buffer_store_dword v5, off, s[4:7], 0 offset:7801126; SI-NEXT:    buffer_store_dword v15, off, s[4:7], 0 offset:7761127; SI-NEXT:    buffer_store_dword v6, off, s[4:7], 0 offset:7721128; SI-NEXT:    buffer_store_dword v16, off, s[4:7], 0 offset:7681129; SI-NEXT:    buffer_store_dword v5, off, s[4:7], 0 offset:7641130; SI-NEXT:    s_waitcnt expcnt(0)1131; SI-NEXT:    v_mov_b32_e32 v5, 0xbf5f2ee21132; SI-NEXT:    buffer_store_dword v5, off, s[4:7], 0 offset:7601133; SI-NEXT:    buffer_store_dword v4, off, s[4:7], 0 offset:7561134; SI-NEXT:    buffer_store_dword v18, off, s[4:7], 0 offset:7521135; SI-NEXT:    buffer_store_dword v3, off, s[4:7], 0 offset:7481136; SI-NEXT:    buffer_store_dword v13, off, s[4:7], 0 offset:7441137; SI-NEXT:    buffer_store_dword v14, off, s[4:7], 0 offset:7401138; SI-NEXT:    buffer_store_dword v11, off, s[4:7], 0 offset:7361139; SI-NEXT:    buffer_store_dword v10, off, s[4:7], 0 offset:7321140; SI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:7281141; SI-NEXT:    buffer_store_dword v17, off, s[4:7], 0 offset:7241142; SI-NEXT:    buffer_store_dword v8, off, s[4:7], 0 offset:7201143; SI-NEXT:    buffer_store_dword v7, off, s[4:7], 0 offset:7161144; SI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:7121145; SI-NEXT:    buffer_store_dword v12, off, s[4:7], 0 offset:7081146; SI-NEXT:    buffer_load_dword v1, v1, s[4:7], 0 offen1147; SI-NEXT:    s_waitcnt vmcnt(0)1148; SI-NEXT:    v_add_f32_e32 v0, v0, v11149; SI-NEXT:    s_waitcnt expcnt(0)1150; SI-NEXT:    ; return to shader part epilog1151;1152; VI-LABEL: vs_main:1153; VI:       ; %bb.0:1154; VI-NEXT:    s_mov_b32 s4, SCRATCH_RSRC_DWORD01155; VI-NEXT:    s_mov_b32 s5, SCRATCH_RSRC_DWORD11156; VI-NEXT:    s_mov_b32 s6, -11157; VI-NEXT:    s_mov_b32 s7, 0xe800001158; VI-NEXT:    s_add_u32 s4, s4, s01159; VI-NEXT:    s_addc_u32 s5, s5, 01160; VI-NEXT:    v_mov_b32_e32 v9, 0xbe31934f1161; VI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:2641162; VI-NEXT:    v_mov_b32_e32 v9, 0xb70435191163; VI-NEXT:    v_mov_b32_e32 v2, 0xbf20e7f41164; VI-NEXT:    v_mov_b32_e32 v6, 0x3f638e371165; VI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:2601166; VI-NEXT:    v_mov_b32_e32 v9, 0xb702e7581167; VI-NEXT:    v_lshlrev_b32_e32 v0, 2, v01168; VI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:3201169; VI-NEXT:    v_mov_b32_e32 v3, 0x3f3d349e1170; VI-NEXT:    v_mov_b32_e32 v4, 0x3f523be11171; VI-NEXT:    v_mov_b32_e32 v5, 0x3f5f2ee21172; VI-NEXT:    buffer_store_dword v6, off, s[4:7], 0 offset:3041173; VI-NEXT:    buffer_store_dword v5, off, s[4:7], 0 offset:3001174; VI-NEXT:    buffer_store_dword v4, off, s[4:7], 0 offset:2961175; VI-NEXT:    buffer_store_dword v3, off, s[4:7], 0 offset:2921176; VI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:2881177; VI-NEXT:    v_mov_b32_e32 v2, 0xbefcd8a31178; VI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:2561179; VI-NEXT:    v_mov_b32_e32 v9, 0x3e31934f1180; VI-NEXT:    v_mov_b32_e32 v10, 0x3eae29d81181; VI-NEXT:    v_mov_b32_e32 v11, 0x3efcd89c1182; VI-NEXT:    v_mov_b32_e32 v14, 0xbf523be31183; VI-NEXT:    v_mov_b32_e32 v16, 0xbf638e391184; VI-NEXT:    v_and_b32_e32 v0, 0x1fc, v01185; VI-NEXT:    s_mov_b32 s0, 01186; VI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:2841187; VI-NEXT:    v_mov_b32_e32 v2, 0xbefcd89f1188; VI-NEXT:    v_mov_b32_e32 v7, 0xbeae29dc1189; VI-NEXT:    v_mov_b32_e32 v8, 0xbe3193561190; VI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:2521191; VI-NEXT:    v_mov_b32_e32 v9, 0x3e3193561192; VI-NEXT:    buffer_store_dword v10, off, s[4:7], 0 offset:2441193; VI-NEXT:    v_mov_b32_e32 v10, 0x3eae29dc1194; VI-NEXT:    buffer_store_dword v11, off, s[4:7], 0 offset:2361195; VI-NEXT:    v_mov_b32_e32 v11, 0x3efcd89f1196; VI-NEXT:    v_mov_b32_e32 v12, 0xbf20e7f51197; VI-NEXT:    v_mov_b32_e32 v13, 0xbf3d349e1198; VI-NEXT:    buffer_store_dword v14, off, s[4:7], 0 offset:2201199; VI-NEXT:    v_mov_b32_e32 v15, 0xbf5f2ee31200; VI-NEXT:    buffer_store_dword v16, off, s[4:7], 0 offset:2121201; VI-NEXT:    buffer_store_dword v15, off, s[4:7], 0 offset:2081202; VI-NEXT:    buffer_store_dword v14, off, s[4:7], 0 offset:2041203; VI-NEXT:    buffer_store_dword v13, off, s[4:7], 0 offset:2001204; VI-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f51205; VI-NEXT:    v_add_u32_e32 v1, vcc, 0x200, v01206; VI-NEXT:    v_add_u32_e32 v0, vcc, s0, v01207; VI-NEXT:    buffer_store_dword v3, off, s[4:7], 0 offset:3161208; VI-NEXT:    buffer_store_dword v4, off, s[4:7], 0 offset:3121209; VI-NEXT:    buffer_store_dword v5, off, s[4:7], 0 offset:3081210; VI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:2801211; VI-NEXT:    buffer_store_dword v7, off, s[4:7], 0 offset:2761212; VI-NEXT:    buffer_store_dword v7, off, s[4:7], 0 offset:2721213; VI-NEXT:    buffer_store_dword v8, off, s[4:7], 0 offset:2681214; VI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:2481215; VI-NEXT:    buffer_store_dword v10, off, s[4:7], 0 offset:2401216; VI-NEXT:    buffer_store_dword v11, off, s[4:7], 0 offset:2321217; VI-NEXT:    buffer_store_dword v12, off, s[4:7], 0 offset:2281218; VI-NEXT:    buffer_store_dword v13, off, s[4:7], 0 offset:2241219; VI-NEXT:    buffer_store_dword v15, off, s[4:7], 0 offset:2161220; VI-NEXT:    buffer_store_dword v14, off, s[4:7], 0 offset:1961221; VI-NEXT:    v_mov_b32_e32 v17, 0x3f20e7f41222; VI-NEXT:    v_mov_b32_e32 v18, 0x3f3d349c1223; VI-NEXT:    buffer_load_dword v0, v0, s[4:7], 0 offen1224; VI-NEXT:    buffer_store_dword v17, off, s[4:7], 0 offset:8321225; VI-NEXT:    buffer_store_dword v11, off, s[4:7], 0 offset:8281226; VI-NEXT:    buffer_store_dword v10, off, s[4:7], 0 offset:8241227; VI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:8201228; VI-NEXT:    v_mov_b32_e32 v17, 0x3703c4991229; VI-NEXT:    buffer_store_dword v18, off, s[4:7], 0 offset:7961230; VI-NEXT:    buffer_store_dword v13, off, s[4:7], 0 offset:7921231; VI-NEXT:    buffer_store_dword v4, off, s[4:7], 0 offset:7881232; VI-NEXT:    v_mov_b32_e32 v18, 0xbf523be11233; VI-NEXT:    buffer_store_dword v17, off, s[4:7], 0 offset:8161234; VI-NEXT:    buffer_store_dword v8, off, s[4:7], 0 offset:8121235; VI-NEXT:    buffer_store_dword v7, off, s[4:7], 0 offset:8081236; VI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:8041237; VI-NEXT:    buffer_store_dword v12, off, s[4:7], 0 offset:8001238; VI-NEXT:    buffer_store_dword v18, off, s[4:7], 0 offset:7841239; VI-NEXT:    buffer_store_dword v5, off, s[4:7], 0 offset:7801240; VI-NEXT:    buffer_store_dword v15, off, s[4:7], 0 offset:7761241; VI-NEXT:    buffer_store_dword v6, off, s[4:7], 0 offset:7721242; VI-NEXT:    buffer_store_dword v16, off, s[4:7], 0 offset:7681243; VI-NEXT:    buffer_store_dword v5, off, s[4:7], 0 offset:7641244; VI-NEXT:    v_mov_b32_e32 v5, 0xbf5f2ee21245; VI-NEXT:    buffer_store_dword v5, off, s[4:7], 0 offset:7601246; VI-NEXT:    buffer_store_dword v4, off, s[4:7], 0 offset:7561247; VI-NEXT:    buffer_store_dword v18, off, s[4:7], 0 offset:7521248; VI-NEXT:    buffer_store_dword v3, off, s[4:7], 0 offset:7481249; VI-NEXT:    buffer_store_dword v13, off, s[4:7], 0 offset:7441250; VI-NEXT:    buffer_store_dword v14, off, s[4:7], 0 offset:7401251; VI-NEXT:    buffer_store_dword v11, off, s[4:7], 0 offset:7361252; VI-NEXT:    buffer_store_dword v10, off, s[4:7], 0 offset:7321253; VI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:7281254; VI-NEXT:    buffer_store_dword v17, off, s[4:7], 0 offset:7241255; VI-NEXT:    buffer_store_dword v8, off, s[4:7], 0 offset:7201256; VI-NEXT:    buffer_store_dword v7, off, s[4:7], 0 offset:7161257; VI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:7121258; VI-NEXT:    buffer_store_dword v12, off, s[4:7], 0 offset:7081259; VI-NEXT:    buffer_load_dword v1, v1, s[4:7], 0 offen1260; VI-NEXT:    s_waitcnt vmcnt(0)1261; VI-NEXT:    v_add_f32_e32 v0, v0, v11262; VI-NEXT:    ; return to shader part epilog1263;1264; GFX9-MUBUF-LABEL: vs_main:1265; GFX9-MUBUF:       ; %bb.0:1266; GFX9-MUBUF-NEXT:    s_mov_b32 s4, s01267; GFX9-MUBUF-NEXT:    s_mov_b32 s0, SCRATCH_RSRC_DWORD01268; GFX9-MUBUF-NEXT:    s_mov_b32 s1, SCRATCH_RSRC_DWORD11269; GFX9-MUBUF-NEXT:    s_mov_b32 s2, -11270; GFX9-MUBUF-NEXT:    s_mov_b32 s3, 0xe000001271; GFX9-MUBUF-NEXT:    s_add_u32 s0, s0, s41272; GFX9-MUBUF-NEXT:    s_addc_u32 s1, s1, 01273; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v9, 0xbe31934f1274; GFX9-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:2641275; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v9, 0xb70435191276; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v2, 0xbf20e7f41277; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v6, 0x3f638e371278; GFX9-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:2601279; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v9, 0xb702e7581280; GFX9-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:3201281; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v3, 0x3f3d349e1282; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v4, 0x3f523be11283; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v5, 0x3f5f2ee21284; GFX9-MUBUF-NEXT:    buffer_store_dword v6, off, s[0:3], 0 offset:3041285; GFX9-MUBUF-NEXT:    buffer_store_dword v5, off, s[0:3], 0 offset:3001286; GFX9-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:2961287; GFX9-MUBUF-NEXT:    buffer_store_dword v3, off, s[0:3], 0 offset:2921288; GFX9-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:2881289; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v2, 0xbefcd8a31290; GFX9-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:2561291; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v9, 0x3e31934f1292; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v10, 0x3eae29d81293; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v11, 0x3efcd89c1294; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v14, 0xbf523be31295; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v16, 0xbf638e391296; GFX9-MUBUF-NEXT:    v_lshlrev_b32_e32 v0, 2, v01297; GFX9-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:2841298; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v2, 0xbefcd89f1299; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v7, 0xbeae29dc1300; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v8, 0xbe3193561301; GFX9-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:2521302; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v9, 0x3e3193561303; GFX9-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:2441304; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v10, 0x3eae29dc1305; GFX9-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:2361306; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v11, 0x3efcd89f1307; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v12, 0xbf20e7f51308; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v13, 0xbf3d349e1309; GFX9-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:2201310; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v15, 0xbf5f2ee31311; GFX9-MUBUF-NEXT:    buffer_store_dword v16, off, s[0:3], 0 offset:2121312; GFX9-MUBUF-NEXT:    buffer_store_dword v15, off, s[0:3], 0 offset:2081313; GFX9-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:2041314; GFX9-MUBUF-NEXT:    buffer_store_dword v13, off, s[0:3], 0 offset:2001315; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f51316; GFX9-MUBUF-NEXT:    v_and_b32_e32 v0, 0x1fc, v01317; GFX9-MUBUF-NEXT:    buffer_store_dword v3, off, s[0:3], 0 offset:3161318; GFX9-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:3121319; GFX9-MUBUF-NEXT:    buffer_store_dword v5, off, s[0:3], 0 offset:3081320; GFX9-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:2801321; GFX9-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:2761322; GFX9-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:2721323; GFX9-MUBUF-NEXT:    buffer_store_dword v8, off, s[0:3], 0 offset:2681324; GFX9-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:2481325; GFX9-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:2401326; GFX9-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:2321327; GFX9-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:2281328; GFX9-MUBUF-NEXT:    buffer_store_dword v13, off, s[0:3], 0 offset:2241329; GFX9-MUBUF-NEXT:    buffer_store_dword v15, off, s[0:3], 0 offset:2161330; GFX9-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:1961331; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v17, 0x3f20e7f41332; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v18, 0x3f3d349c1333; GFX9-MUBUF-NEXT:    v_add_u32_e32 v1, 0x200, v01334; GFX9-MUBUF-NEXT:    buffer_load_dword v0, v0, s[0:3], 0 offen1335; GFX9-MUBUF-NEXT:    s_nop 01336; GFX9-MUBUF-NEXT:    buffer_store_dword v17, off, s[0:3], 0 offset:8321337; GFX9-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:8281338; GFX9-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:8241339; GFX9-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:8201340; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v17, 0x3703c4991341; GFX9-MUBUF-NEXT:    buffer_store_dword v18, off, s[0:3], 0 offset:7961342; GFX9-MUBUF-NEXT:    buffer_store_dword v13, off, s[0:3], 0 offset:7921343; GFX9-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:7881344; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v18, 0xbf523be11345; GFX9-MUBUF-NEXT:    buffer_store_dword v17, off, s[0:3], 0 offset:8161346; GFX9-MUBUF-NEXT:    buffer_store_dword v8, off, s[0:3], 0 offset:8121347; GFX9-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:8081348; GFX9-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:8041349; GFX9-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:8001350; GFX9-MUBUF-NEXT:    buffer_store_dword v18, off, s[0:3], 0 offset:7841351; GFX9-MUBUF-NEXT:    buffer_store_dword v5, off, s[0:3], 0 offset:7801352; GFX9-MUBUF-NEXT:    buffer_store_dword v15, off, s[0:3], 0 offset:7761353; GFX9-MUBUF-NEXT:    buffer_store_dword v6, off, s[0:3], 0 offset:7721354; GFX9-MUBUF-NEXT:    buffer_store_dword v16, off, s[0:3], 0 offset:7681355; GFX9-MUBUF-NEXT:    buffer_store_dword v5, off, s[0:3], 0 offset:7641356; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v5, 0xbf5f2ee21357; GFX9-MUBUF-NEXT:    buffer_store_dword v5, off, s[0:3], 0 offset:7601358; GFX9-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:7561359; GFX9-MUBUF-NEXT:    buffer_store_dword v18, off, s[0:3], 0 offset:7521360; GFX9-MUBUF-NEXT:    buffer_store_dword v3, off, s[0:3], 0 offset:7481361; GFX9-MUBUF-NEXT:    buffer_store_dword v13, off, s[0:3], 0 offset:7441362; GFX9-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:7401363; GFX9-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:7361364; GFX9-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:7321365; GFX9-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:7281366; GFX9-MUBUF-NEXT:    buffer_store_dword v17, off, s[0:3], 0 offset:7241367; GFX9-MUBUF-NEXT:    buffer_store_dword v8, off, s[0:3], 0 offset:7201368; GFX9-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:7161369; GFX9-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:7121370; GFX9-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:7081371; GFX9-MUBUF-NEXT:    buffer_load_dword v1, v1, s[0:3], 0 offen1372; GFX9-MUBUF-NEXT:    s_waitcnt vmcnt(0)1373; GFX9-MUBUF-NEXT:    v_add_f32_e32 v0, v0, v11374; GFX9-MUBUF-NEXT:    ; return to shader part epilog1375;1376; GFX10_W32-MUBUF-LABEL: vs_main:1377; GFX10_W32-MUBUF:       ; %bb.0:1378; GFX10_W32-MUBUF-NEXT:    s_mov_b32 s4, s01379; GFX10_W32-MUBUF-NEXT:    s_mov_b32 s0, SCRATCH_RSRC_DWORD01380; GFX10_W32-MUBUF-NEXT:    s_mov_b32 s1, SCRATCH_RSRC_DWORD11381; GFX10_W32-MUBUF-NEXT:    s_mov_b32 s2, -11382; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v1, 0xbf20e7f41383; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v2, 0x3f3d349e1384; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v3, 0x3f523be11385; GFX10_W32-MUBUF-NEXT:    s_mov_b32 s3, 0x31c160001386; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v4, 0x3f5f2ee21387; GFX10_W32-MUBUF-NEXT:    s_add_u32 s0, s0, s41388; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v5, 0x3f638e371389; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v7, 0xbefcd8a31390; GFX10_W32-MUBUF-NEXT:    s_addc_u32 s1, s1, 01391; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v8, 0xbefcd89f1392; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v9, 0xbeae29dc1393; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v1, off, s[0:3], 0 offset:3201394; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:3161395; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v3, off, s[0:3], 0 offset:3121396; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:3081397; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v5, off, s[0:3], 0 offset:3041398; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:3001399; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:2921400; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v1, off, s[0:3], 0 offset:2881401; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:2841402; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v8, off, s[0:3], 0 offset:2801403; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:2761404; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:2721405; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v1, 0xbe3193561406; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v7, 0xbe31934f1407; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v10, 0xb70435191408; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v11, 0xb702e7581409; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v12, 0x3e31934f1410; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v1, off, s[0:3], 0 offset:2681411; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:2641412; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:2601413; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:2561414; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:2521415; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v7, 0x3e3193561416; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v10, 0x3eae29d81417; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v11, 0x3eae29dc1418; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v12, 0x3efcd89c1419; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v13, 0x3efcd89f1420; GFX10_W32-MUBUF-NEXT:    v_lshlrev_b32_e32 v0, 2, v01421; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:2481422; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:2441423; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:2401424; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:2361425; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v13, off, s[0:3], 0 offset:2321426; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v10, 0xbf20e7f51427; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v15, 0xbf5f2ee31428; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v12, 0xbf3d349e1429; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v14, 0xbf523be31430; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v16, 0xbf638e391431; GFX10_W32-MUBUF-NEXT:    v_and_b32_e32 v0, 0x1fc, v01432; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:2281433; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:2241434; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:2201435; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v15, off, s[0:3], 0 offset:2161436; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v16, off, s[0:3], 0 offset:2121437; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v17, 0x3f20e7f51438; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v15, off, s[0:3], 0 offset:2081439; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:2041440; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f41441; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v3, off, s[0:3], 0 offset:2961442; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:2001443; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v17, off, s[0:3], 0 offset:1961444; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v18, 0x3703c4991445; GFX10_W32-MUBUF-NEXT:    v_add_nc_u32_e32 v6, 0x200, v01446; GFX10_W32-MUBUF-NEXT:    buffer_load_dword v0, v0, s[0:3], 0 offen1447; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:8321448; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v13, off, s[0:3], 0 offset:8281449; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:8241450; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:8201451; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v18, off, s[0:3], 0 offset:8161452; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v1, off, s[0:3], 0 offset:8121453; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v14, 0x3f3d349c1454; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v19, 0xbf523be11455; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:8001456; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:7961457; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:7921458; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v3, off, s[0:3], 0 offset:7881459; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v19, off, s[0:3], 0 offset:7841460; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:7801461; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v14, 0xbf5f2ee21462; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:8081463; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v8, off, s[0:3], 0 offset:8041464; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v15, off, s[0:3], 0 offset:7761465; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v5, off, s[0:3], 0 offset:7721466; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v16, off, s[0:3], 0 offset:7681467; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:7641468; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:7601469; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v3, off, s[0:3], 0 offset:7561470; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v19, off, s[0:3], 0 offset:7521471; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:7481472; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:7441473; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v17, off, s[0:3], 0 offset:7401474; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v13, off, s[0:3], 0 offset:7361475; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:7321476; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:7281477; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v18, off, s[0:3], 0 offset:7241478; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v1, off, s[0:3], 0 offset:7201479; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:7161480; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v8, off, s[0:3], 0 offset:7121481; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:7081482; GFX10_W32-MUBUF-NEXT:    buffer_load_dword v1, v6, s[0:3], 0 offen1483; GFX10_W32-MUBUF-NEXT:    s_waitcnt vmcnt(0)1484; GFX10_W32-MUBUF-NEXT:    v_add_f32_e32 v0, v0, v11485; GFX10_W32-MUBUF-NEXT:    ; return to shader part epilog1486;1487; GFX10_W64-MUBUF-LABEL: vs_main:1488; GFX10_W64-MUBUF:       ; %bb.0:1489; GFX10_W64-MUBUF-NEXT:    s_mov_b32 s4, s01490; GFX10_W64-MUBUF-NEXT:    s_mov_b32 s0, SCRATCH_RSRC_DWORD01491; GFX10_W64-MUBUF-NEXT:    s_mov_b32 s1, SCRATCH_RSRC_DWORD11492; GFX10_W64-MUBUF-NEXT:    s_mov_b32 s2, -11493; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v1, 0xbf20e7f41494; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v2, 0x3f3d349e1495; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v3, 0x3f523be11496; GFX10_W64-MUBUF-NEXT:    s_mov_b32 s3, 0x31e160001497; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v4, 0x3f5f2ee21498; GFX10_W64-MUBUF-NEXT:    s_add_u32 s0, s0, s41499; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v5, 0x3f638e371500; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v7, 0xbefcd8a31501; GFX10_W64-MUBUF-NEXT:    s_addc_u32 s1, s1, 01502; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v8, 0xbefcd89f1503; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v9, 0xbeae29dc1504; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v1, off, s[0:3], 0 offset:3201505; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:3161506; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v3, off, s[0:3], 0 offset:3121507; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:3081508; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v5, off, s[0:3], 0 offset:3041509; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:3001510; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:2921511; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v1, off, s[0:3], 0 offset:2881512; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:2841513; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v8, off, s[0:3], 0 offset:2801514; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:2761515; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:2721516; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v1, 0xbe3193561517; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v7, 0xbe31934f1518; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v10, 0xb70435191519; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v11, 0xb702e7581520; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v12, 0x3e31934f1521; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v1, off, s[0:3], 0 offset:2681522; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:2641523; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:2601524; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:2561525; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:2521526; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v7, 0x3e3193561527; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v10, 0x3eae29d81528; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v11, 0x3eae29dc1529; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v12, 0x3efcd89c1530; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v13, 0x3efcd89f1531; GFX10_W64-MUBUF-NEXT:    v_lshlrev_b32_e32 v0, 2, v01532; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:2481533; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:2441534; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:2401535; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:2361536; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v13, off, s[0:3], 0 offset:2321537; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v10, 0xbf20e7f51538; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v15, 0xbf5f2ee31539; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v12, 0xbf3d349e1540; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v14, 0xbf523be31541; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v16, 0xbf638e391542; GFX10_W64-MUBUF-NEXT:    v_and_b32_e32 v0, 0x1fc, v01543; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:2281544; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:2241545; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:2201546; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v15, off, s[0:3], 0 offset:2161547; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v16, off, s[0:3], 0 offset:2121548; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v17, 0x3f20e7f51549; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v15, off, s[0:3], 0 offset:2081550; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:2041551; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f41552; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v3, off, s[0:3], 0 offset:2961553; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:2001554; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v17, off, s[0:3], 0 offset:1961555; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v18, 0x3703c4991556; GFX10_W64-MUBUF-NEXT:    v_add_nc_u32_e32 v6, 0x200, v01557; GFX10_W64-MUBUF-NEXT:    buffer_load_dword v0, v0, s[0:3], 0 offen1558; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:8321559; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v13, off, s[0:3], 0 offset:8281560; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:8241561; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:8201562; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v18, off, s[0:3], 0 offset:8161563; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v1, off, s[0:3], 0 offset:8121564; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v14, 0x3f3d349c1565; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v19, 0xbf523be11566; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:8001567; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:7961568; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:7921569; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v3, off, s[0:3], 0 offset:7881570; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v19, off, s[0:3], 0 offset:7841571; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:7801572; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v14, 0xbf5f2ee21573; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:8081574; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v8, off, s[0:3], 0 offset:8041575; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v15, off, s[0:3], 0 offset:7761576; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v5, off, s[0:3], 0 offset:7721577; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v16, off, s[0:3], 0 offset:7681578; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:7641579; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:7601580; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v3, off, s[0:3], 0 offset:7561581; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v19, off, s[0:3], 0 offset:7521582; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:7481583; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:7441584; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v17, off, s[0:3], 0 offset:7401585; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v13, off, s[0:3], 0 offset:7361586; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:7321587; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:7281588; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v18, off, s[0:3], 0 offset:7241589; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v1, off, s[0:3], 0 offset:7201590; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:7161591; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v8, off, s[0:3], 0 offset:7121592; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:7081593; GFX10_W64-MUBUF-NEXT:    buffer_load_dword v1, v6, s[0:3], 0 offen1594; GFX10_W64-MUBUF-NEXT:    s_waitcnt vmcnt(0)1595; GFX10_W64-MUBUF-NEXT:    v_add_f32_e32 v0, v0, v11596; GFX10_W64-MUBUF-NEXT:    ; return to shader part epilog1597;1598; GFX9-FLATSCR-LABEL: vs_main:1599; GFX9-FLATSCR:       ; %bb.0:1600; GFX9-FLATSCR-NEXT:    s_add_u32 flat_scratch_lo, s0, s21601; GFX9-FLATSCR-NEXT:    v_lshlrev_b32_e32 v0, 2, v01602; GFX9-FLATSCR-NEXT:    s_addc_u32 flat_scratch_hi, s1, 01603; GFX9-FLATSCR-NEXT:    v_and_b32_e32 v30, 0x1fc, v01604; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v0, 0xbf20e7f41605; GFX9-FLATSCR-NEXT:    s_mov_b32 s0, 01606; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v27, 0x3f5f2ee21607; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v28, 0x3f523be11608; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v29, 0x3f3d349e1609; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:3201610; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v17, 0xbeae29dc1611; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v1, v291612; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v2, v281613; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v3, v271614; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v11, 0xbf3d349e1615; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v12, 0xbf20e7f51616; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v13, 0x3efcd89f1617; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v14, 0x3efcd89c1618; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v22, 0xbf5f2ee31619; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v25, 0xbf523be31620; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v26, 0x3f638e371621; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:2881622; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v19, 0xbefcd89f1623; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v20, 0xbefcd8a31624; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v18, v171625; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v0, 0xb702e7581626; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v1, 0xb70435191627; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v2, 0xbe31934f1628; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v3, 0xbe3193561629; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v6, 0x3eae29dc1630; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v7, 0x3eae29d81631; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v8, 0x3e3193561632; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v9, 0x3e31934f1633; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[11:14], s0 offset:2241634; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v23, 0xbf638e391635; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v24, v221636; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f51637; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v15, v111638; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v16, v251639; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[26:29], s0 offset:3041640; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[17:20], s0 offset:2721641; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:2561642; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[6:9], s0 offset:2401643; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[22:25], s0 offset:2081644; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[13:16], s0 offset:1921645; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v0, v301646; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v7, 0x3703c4991647; GFX9-FLATSCR-NEXT:    scratch_load_dword v31, v0, off1648; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v4, v71649; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v5, v81650; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v0, 0x3f20e7f41651; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v21, v31652; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[3:6], s0 offset:7201653; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:8321654; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v16, v291655; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v0, 0xbf523be11656; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v3, 0x3f3d349c1657; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v1, v281658; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v2, v111659; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v9, v61660; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v10, v131661; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v24, v261662; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v25, v221663; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v26, v271664; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:7841665; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v18, v121666; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v2, 0xbf5f2ee21667; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v3, v271668; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v20, v171669; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[13:16], s0 offset:7361670; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[7:10], s0 offset:8161671; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v13, v191672; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v14, v171673; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[23:26], s0 offset:7681674; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:7521675; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[18:21], s0 offset:8001676; GFX9-FLATSCR-NEXT:    v_add_u32_e32 v0, 0x200, v301677; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[11:14], s0 offset:7041678; GFX9-FLATSCR-NEXT:    scratch_load_dword v0, v0, off1679; GFX9-FLATSCR-NEXT:    s_waitcnt vmcnt(0)1680; GFX9-FLATSCR-NEXT:    v_add_f32_e32 v0, v31, v01681; GFX9-FLATSCR-NEXT:    ; return to shader part epilog1682;1683; GFX10-FLATSCR-LABEL: vs_main:1684; GFX10-FLATSCR:       ; %bb.0:1685; GFX10-FLATSCR-NEXT:    s_add_u32 s0, s0, s21686; GFX10-FLATSCR-NEXT:    s_addc_u32 s1, s1, 01687; GFX10-FLATSCR-NEXT:    s_setreg_b32 hwreg(HW_REG_FLAT_SCR_LO), s01688; GFX10-FLATSCR-NEXT:    s_setreg_b32 hwreg(HW_REG_FLAT_SCR_HI), s11689; GFX10-FLATSCR-NEXT:    v_lshlrev_b32_e32 v0, 2, v01690; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v1, 0xbf20e7f41691; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v27, 0x3f5f2ee21692; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v29, 0x3f3d349e1693; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v28, 0x3f523be11694; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v17, 0xbeae29dc1695; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v26, 0x3f638e371696; GFX10-FLATSCR-NEXT:    v_and_b32_e32 v0, 0x1fc, v01697; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[1:4], off offset:3201698; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v2, v291699; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v3, v281700; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v4, v271701; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v22, 0xbf5f2ee31702; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v19, 0xbefcd89f1703; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v20, 0xbefcd8a31704; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v18, v171705; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v11, 0xbf3d349e1706; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v12, 0xbf20e7f51707; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v13, 0x3efcd89f1708; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v14, 0x3efcd89c1709; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v25, 0xbf523be31710; GFX10-FLATSCR-NEXT:    v_add_nc_u32_e32 v34, 0x200, v01711; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v5, v01712; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[26:29], off offset:3041713; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[1:4], off offset:2881714; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[17:20], off offset:2721715; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v0, 0xb702e7581716; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v1, 0xb70435191717; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v2, 0xbe31934f1718; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v3, 0xbe3193561719; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v6, 0x3eae29dc1720; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v7, 0x3eae29d81721; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v8, 0x3e3193561722; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v9, 0x3e31934f1723; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v23, 0xbf638e391724; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v24, v221725; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[11:14], off offset:2241726; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f51727; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v15, v111728; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v16, v251729; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[0:3], off offset:2561730; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[6:9], off offset:2401731; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[22:25], off offset:2081732; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[13:16], off offset:1921733; GFX10-FLATSCR-NEXT:    scratch_load_dword v1, v5, off1734; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v30, 0xbf523be11735; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v33, 0x3f3d349c1736; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v31, v281737; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v32, v111738; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v7, 0x3703c4991739; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v16, v291740; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v0, 0x3f20e7f41741; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v9, v61742; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v10, v131743; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v18, v121744; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v20, v171745; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v21, v31746; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v24, v261747; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v25, v221748; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v26, v271749; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[30:33], off offset:7841750; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v32, 0xbf5f2ee21751; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v33, v271752; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v4, v71753; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v5, v81754; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[13:16], off offset:7361755; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v13, v191756; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v14, v171757; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[7:10], off offset:8161758; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[18:21], off offset:8001759; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[23:26], off offset:7681760; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[30:33], off offset:7521761; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[3:6], off offset:7201762; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[11:14], off offset:7041763; GFX10-FLATSCR-NEXT:    s_waitcnt vmcnt(0)1764; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[0:3], off offset:8321765; GFX10-FLATSCR-NEXT:    scratch_load_dword v0, v34, off1766; GFX10-FLATSCR-NEXT:    s_waitcnt vmcnt(0)1767; GFX10-FLATSCR-NEXT:    v_add_f32_e32 v0, v1, v01768; GFX10-FLATSCR-NEXT:    ; return to shader part epilog1769;1770; GFX9-FLATSCR-PAL-LABEL: vs_main:1771; GFX9-FLATSCR-PAL:       ; %bb.0:1772; GFX9-FLATSCR-PAL-NEXT:    s_getpc_b64 s[2:3]1773; GFX9-FLATSCR-PAL-NEXT:    s_mov_b32 s2, s01774; GFX9-FLATSCR-PAL-NEXT:    s_load_dwordx2 s[2:3], s[2:3], 0x01775; GFX9-FLATSCR-PAL-NEXT:    v_lshlrev_b32_e32 v0, 2, v01776; GFX9-FLATSCR-PAL-NEXT:    v_and_b32_e32 v30, 0x1fc, v01777; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v0, 0xbf20e7f41778; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v27, 0x3f5f2ee21779; GFX9-FLATSCR-PAL-NEXT:    s_waitcnt lgkmcnt(0)1780; GFX9-FLATSCR-PAL-NEXT:    s_and_b32 s3, s3, 0xffff1781; GFX9-FLATSCR-PAL-NEXT:    s_add_u32 flat_scratch_lo, s2, s01782; GFX9-FLATSCR-PAL-NEXT:    s_addc_u32 flat_scratch_hi, s3, 01783; GFX9-FLATSCR-PAL-NEXT:    s_mov_b32 s0, 01784; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v28, 0x3f523be11785; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v29, 0x3f3d349e1786; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:3201787; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v17, 0xbeae29dc1788; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v1, v291789; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v2, v281790; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v3, v271791; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v11, 0xbf3d349e1792; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v12, 0xbf20e7f51793; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v13, 0x3efcd89f1794; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v14, 0x3efcd89c1795; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v22, 0xbf5f2ee31796; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v25, 0xbf523be31797; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v26, 0x3f638e371798; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:2881799; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v19, 0xbefcd89f1800; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v20, 0xbefcd8a31801; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v18, v171802; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v0, 0xb702e7581803; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v1, 0xb70435191804; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v2, 0xbe31934f1805; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v3, 0xbe3193561806; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v6, 0x3eae29dc1807; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v7, 0x3eae29d81808; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v8, 0x3e3193561809; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v9, 0x3e31934f1810; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[11:14], s0 offset:2241811; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v23, 0xbf638e391812; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v24, v221813; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f51814; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v15, v111815; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v16, v251816; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[26:29], s0 offset:3041817; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[17:20], s0 offset:2721818; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:2561819; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[6:9], s0 offset:2401820; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[22:25], s0 offset:2081821; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[13:16], s0 offset:1921822; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v0, v301823; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v7, 0x3703c4991824; GFX9-FLATSCR-PAL-NEXT:    scratch_load_dword v31, v0, off1825; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v4, v71826; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v5, v81827; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v0, 0x3f20e7f41828; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v21, v31829; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[3:6], s0 offset:7201830; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:8321831; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v16, v291832; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v0, 0xbf523be11833; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v3, 0x3f3d349c1834; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v1, v281835; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v2, v111836; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v9, v61837; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v10, v131838; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v24, v261839; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v25, v221840; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v26, v271841; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:7841842; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v18, v121843; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v2, 0xbf5f2ee21844; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v3, v271845; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v20, v171846; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[13:16], s0 offset:7361847; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[7:10], s0 offset:8161848; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v13, v191849; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v14, v171850; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[23:26], s0 offset:7681851; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:7521852; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[18:21], s0 offset:8001853; GFX9-FLATSCR-PAL-NEXT:    v_add_u32_e32 v0, 0x200, v301854; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[11:14], s0 offset:7041855; GFX9-FLATSCR-PAL-NEXT:    scratch_load_dword v0, v0, off1856; GFX9-FLATSCR-PAL-NEXT:    s_waitcnt vmcnt(0)1857; GFX9-FLATSCR-PAL-NEXT:    v_add_f32_e32 v0, v31, v01858; GFX9-FLATSCR-PAL-NEXT:    ; return to shader part epilog1859;1860; GFX10-FLATSCR-PAL-LABEL: vs_main:1861; GFX10-FLATSCR-PAL:       ; %bb.0:1862; GFX10-FLATSCR-PAL-NEXT:    s_getpc_b64 s[2:3]1863; GFX10-FLATSCR-PAL-NEXT:    s_mov_b32 s2, s01864; GFX10-FLATSCR-PAL-NEXT:    s_load_dwordx2 s[2:3], s[2:3], 0x01865; GFX10-FLATSCR-PAL-NEXT:    s_waitcnt lgkmcnt(0)1866; GFX10-FLATSCR-PAL-NEXT:    s_and_b32 s3, s3, 0xffff1867; GFX10-FLATSCR-PAL-NEXT:    s_add_u32 s2, s2, s01868; GFX10-FLATSCR-PAL-NEXT:    s_addc_u32 s3, s3, 01869; GFX10-FLATSCR-PAL-NEXT:    s_setreg_b32 hwreg(HW_REG_FLAT_SCR_LO), s21870; GFX10-FLATSCR-PAL-NEXT:    s_setreg_b32 hwreg(HW_REG_FLAT_SCR_HI), s31871; GFX10-FLATSCR-PAL-NEXT:    v_lshlrev_b32_e32 v0, 2, v01872; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v1, 0xbf20e7f41873; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v27, 0x3f5f2ee21874; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v29, 0x3f3d349e1875; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v28, 0x3f523be11876; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v17, 0xbeae29dc1877; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v26, 0x3f638e371878; GFX10-FLATSCR-PAL-NEXT:    v_and_b32_e32 v0, 0x1fc, v01879; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[1:4], off offset:3201880; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v2, v291881; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v3, v281882; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v4, v271883; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v22, 0xbf5f2ee31884; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v19, 0xbefcd89f1885; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v20, 0xbefcd8a31886; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v18, v171887; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v11, 0xbf3d349e1888; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v12, 0xbf20e7f51889; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v13, 0x3efcd89f1890; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v14, 0x3efcd89c1891; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v25, 0xbf523be31892; GFX10-FLATSCR-PAL-NEXT:    v_add_nc_u32_e32 v34, 0x200, v01893; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v5, v01894; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[26:29], off offset:3041895; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[1:4], off offset:2881896; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[17:20], off offset:2721897; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v0, 0xb702e7581898; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v1, 0xb70435191899; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v2, 0xbe31934f1900; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v3, 0xbe3193561901; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v6, 0x3eae29dc1902; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v7, 0x3eae29d81903; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v8, 0x3e3193561904; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v9, 0x3e31934f1905; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v23, 0xbf638e391906; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v24, v221907; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[11:14], off offset:2241908; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f51909; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v15, v111910; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v16, v251911; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[0:3], off offset:2561912; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[6:9], off offset:2401913; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[22:25], off offset:2081914; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[13:16], off offset:1921915; GFX10-FLATSCR-PAL-NEXT:    scratch_load_dword v1, v5, off1916; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v30, 0xbf523be11917; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v33, 0x3f3d349c1918; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v31, v281919; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v32, v111920; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v7, 0x3703c4991921; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v16, v291922; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v0, 0x3f20e7f41923; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v9, v61924; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v10, v131925; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v18, v121926; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v20, v171927; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v21, v31928; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v24, v261929; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v25, v221930; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v26, v271931; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[30:33], off offset:7841932; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v32, 0xbf5f2ee21933; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v33, v271934; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v4, v71935; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v5, v81936; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[13:16], off offset:7361937; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v13, v191938; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v14, v171939; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[7:10], off offset:8161940; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[18:21], off offset:8001941; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[23:26], off offset:7681942; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[30:33], off offset:7521943; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[3:6], off offset:7201944; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[11:14], off offset:7041945; GFX10-FLATSCR-PAL-NEXT:    s_waitcnt vmcnt(0)1946; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[0:3], off offset:8321947; GFX10-FLATSCR-PAL-NEXT:    scratch_load_dword v0, v34, off1948; GFX10-FLATSCR-PAL-NEXT:    s_waitcnt vmcnt(0)1949; GFX10-FLATSCR-PAL-NEXT:    v_add_f32_e32 v0, v1, v01950; GFX10-FLATSCR-PAL-NEXT:    ; return to shader part epilog1951;1952; GFX11-FLATSCR-LABEL: vs_main:1953; GFX11-FLATSCR:       ; %bb.0:1954; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v21, 0xbf5f2ee31955; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v1, 0xbf20e7f4 :: v_dual_lshlrev_b32 v0, 2, v01956; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v28, 0x3f3d349e1957; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v7, 0x3eae29d81958; GFX11-FLATSCR-NEXT:    s_delay_alu instid0(VALU_DEP_4)1959; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v23, v211960; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v27, 0x3f523be11961; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[1:4], off offset:3201962; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v2, v281963; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v26, 0x3f5f2ee21964; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v19, 0xbefcd89f :: v_dual_mov_b32 v30, v271965; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v3, v271966; GFX11-FLATSCR-NEXT:    s_delay_alu instid0(VALU_DEP_3)1967; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v25, 0x3f638e37 :: v_dual_mov_b32 v4, v261968; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v24, 0xbf523be31969; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v17, 0xbeae29dc1970; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v11, 0xbf3d349e1971; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v6, 0x3eae29dc1972; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v8, 0x3e3193561973; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v9, 0x3e31934f1974; GFX11-FLATSCR-NEXT:    s_clause 0x11975; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[25:28], off offset:3041976; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[1:4], off offset:2881977; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v12, 0xbf20e7f51978; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v13, 0x3efcd89f :: v_dual_mov_b32 v16, v241979; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v3, 0xbe3193561980; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v14, 0x3efcd89c1981; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v18, v17 :: v_dual_and_b32 v33, 0x1fc, v01982; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v20, 0xbefcd8a3 :: v_dual_mov_b32 v15, v111983; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v1, 0xb7043519 :: v_dual_mov_b32 v10, v131984; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v2, 0xbe31934f :: v_dual_mov_b32 v31, v111985; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v0, 0xb702e7581986; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v22, 0xbf638e391987; GFX11-FLATSCR-NEXT:    s_clause 0x11988; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[6:9], off offset:2401989; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[11:14], off offset:2241990; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v14, 0x3f20e7f5 :: v_dual_mov_b32 v9, v61991; GFX11-FLATSCR-NEXT:    s_clause 0x31992; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[17:20], off offset:2721993; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[0:3], off offset:2561994; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[21:24], off offset:2081995; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[13:16], off offset:1921996; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v4, 0x3f20e7f41997; GFX11-FLATSCR-NEXT:    scratch_load_b32 v0, v33, off1998; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v29, 0xbf523be11999; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v32, 0x3f3d349c2000; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v24, v212001; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[4:7], off offset:8322002; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v7, 0x3703c499 :: v_dual_mov_b32 v16, v282003; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[29:32], off offset:7842004; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v31, 0xbf5f2ee2 :: v_dual_mov_b32 v32, v262005; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v23, v252006; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v25, v26 :: v_dual_mov_b32 v18, v122007; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v20, v17 :: v_dual_mov_b32 v21, v32008; GFX11-FLATSCR-NEXT:    s_clause 0x12009; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[29:32], off offset:7522010; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[13:16], off offset:7362011; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v5, v8 :: v_dual_mov_b32 v14, v172012; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v4, v72013; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v13, v192014; GFX11-FLATSCR-NEXT:    s_clause 0x42015; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[7:10], off offset:8162016; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[18:21], off offset:8002017; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[22:25], off offset:7682018; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[3:6], off offset:7202019; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[11:14], off offset:7042020; GFX11-FLATSCR-NEXT:    scratch_load_b32 v1, v33, off offset:5122021; GFX11-FLATSCR-NEXT:    s_waitcnt vmcnt(0)2022; GFX11-FLATSCR-NEXT:    v_add_f32_e32 v0, v0, v12023; GFX11-FLATSCR-NEXT:    ; return to shader part epilog2024  %v1 = extractelement <81 x float> <float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float 0x3FE41CFEA0000000, float 0xBFE7A693C0000000, float 0xBFEA477C60000000, float 0xBFEBE5DC60000000, float 0xBFEC71C720000000, float 0xBFEBE5DC60000000, float 0xBFEA477C60000000, float 0xBFE7A693C0000000, float 0xBFE41CFEA0000000, float 0x3FDF9B13E0000000, float 0x3FDF9B1380000000, float 0x3FD5C53B80000000, float 0x3FD5C53B00000000, float 0x3FC6326AC0000000, float 0x3FC63269E0000000, float 0xBEE05CEB00000000, float 0xBEE086A320000000, float 0xBFC63269E0000000, float 0xBFC6326AC0000000, float 0xBFD5C53B80000000, float 0xBFD5C53B80000000, float 0xBFDF9B13E0000000, float 0xBFDF9B1460000000, float 0xBFE41CFE80000000, float 0x3FE7A693C0000000, float 0x3FEA477C20000000, float 0x3FEBE5DC40000000, float 0x3FEC71C6E0000000, float 0x3FEBE5DC40000000, float 0x3FEA477C20000000, float 0x3FE7A693C0000000, float 0xBFE41CFE80000000>, i32 %idx2025  %v2 = extractelement <81 x float> <float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float 0xBFE41CFEA0000000, float 0xBFDF9B13E0000000, float 0xBFD5C53B80000000, float 0xBFC6326AC0000000, float 0x3EE0789320000000, float 0x3FC6326AC0000000, float 0x3FD5C53B80000000, float 0x3FDF9B13E0000000, float 0x3FE41CFEA0000000, float 0xBFE7A693C0000000, float 0x3FE7A693C0000000, float 0xBFEA477C20000000, float 0x3FEA477C20000000, float 0xBFEBE5DC40000000, float 0x3FEBE5DC40000000, float 0xBFEC71C720000000, float 0x3FEC71C6E0000000, float 0xBFEBE5DC60000000, float 0x3FEBE5DC40000000, float 0xBFEA477C20000000, float 0x3FEA477C20000000, float 0xBFE7A693C0000000, float 0x3FE7A69380000000, float 0xBFE41CFEA0000000, float 0xBFDF9B13E0000000, float 0xBFD5C53B80000000, float 0xBFC6326AC0000000, float 0x3EE0789320000000, float 0x3FC6326AC0000000, float 0x3FD5C53B80000000, float 0x3FDF9B13E0000000, float 0x3FE41CFE80000000>, i32 %idx2026  %r = fadd float %v1, %v22027  ret float %r2028}2029 2030define amdgpu_cs float @cs_main(i32 %idx) {2031; SI-LABEL: cs_main:2032; SI:       ; %bb.0:2033; SI-NEXT:    s_mov_b32 s4, SCRATCH_RSRC_DWORD02034; SI-NEXT:    s_mov_b32 s5, SCRATCH_RSRC_DWORD12035; SI-NEXT:    s_mov_b32 s6, -12036; SI-NEXT:    s_mov_b32 s7, 0xe8f0002037; SI-NEXT:    s_add_u32 s4, s4, s02038; SI-NEXT:    s_addc_u32 s5, s5, 02039; SI-NEXT:    v_mov_b32_e32 v9, 0xbe31934f2040; SI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:2642041; SI-NEXT:    s_waitcnt expcnt(0)2042; SI-NEXT:    v_mov_b32_e32 v9, 0xb70435192043; SI-NEXT:    v_mov_b32_e32 v2, 0xbf20e7f42044; SI-NEXT:    v_mov_b32_e32 v6, 0x3f638e372045; SI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:2602046; SI-NEXT:    s_waitcnt expcnt(0)2047; SI-NEXT:    v_mov_b32_e32 v9, 0xb702e7582048; SI-NEXT:    v_lshlrev_b32_e32 v0, 2, v02049; SI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:3202050; SI-NEXT:    v_mov_b32_e32 v3, 0x3f3d349e2051; SI-NEXT:    v_mov_b32_e32 v4, 0x3f523be12052; SI-NEXT:    v_mov_b32_e32 v5, 0x3f5f2ee22053; SI-NEXT:    buffer_store_dword v6, off, s[4:7], 0 offset:3042054; SI-NEXT:    buffer_store_dword v5, off, s[4:7], 0 offset:3002055; SI-NEXT:    buffer_store_dword v4, off, s[4:7], 0 offset:2962056; SI-NEXT:    buffer_store_dword v3, off, s[4:7], 0 offset:2922057; SI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:2882058; SI-NEXT:    s_waitcnt expcnt(0)2059; SI-NEXT:    v_mov_b32_e32 v2, 0xbefcd8a32060; SI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:2562061; SI-NEXT:    s_waitcnt expcnt(0)2062; SI-NEXT:    v_mov_b32_e32 v9, 0x3e31934f2063; SI-NEXT:    v_mov_b32_e32 v10, 0x3eae29d82064; SI-NEXT:    v_mov_b32_e32 v11, 0x3efcd89c2065; SI-NEXT:    v_mov_b32_e32 v14, 0xbf523be32066; SI-NEXT:    v_mov_b32_e32 v16, 0xbf638e392067; SI-NEXT:    v_and_b32_e32 v0, 0x1fc, v02068; SI-NEXT:    s_mov_b32 s0, 02069; SI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:2842070; SI-NEXT:    s_waitcnt expcnt(0)2071; SI-NEXT:    v_mov_b32_e32 v2, 0xbefcd89f2072; SI-NEXT:    v_mov_b32_e32 v7, 0xbeae29dc2073; SI-NEXT:    v_mov_b32_e32 v8, 0xbe3193562074; SI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:2522075; SI-NEXT:    s_waitcnt expcnt(0)2076; SI-NEXT:    v_mov_b32_e32 v9, 0x3e3193562077; SI-NEXT:    buffer_store_dword v10, off, s[4:7], 0 offset:2442078; SI-NEXT:    s_waitcnt expcnt(0)2079; SI-NEXT:    v_mov_b32_e32 v10, 0x3eae29dc2080; SI-NEXT:    buffer_store_dword v11, off, s[4:7], 0 offset:2362081; SI-NEXT:    s_waitcnt expcnt(0)2082; SI-NEXT:    v_mov_b32_e32 v11, 0x3efcd89f2083; SI-NEXT:    v_mov_b32_e32 v12, 0xbf20e7f52084; SI-NEXT:    v_mov_b32_e32 v13, 0xbf3d349e2085; SI-NEXT:    buffer_store_dword v14, off, s[4:7], 0 offset:2202086; SI-NEXT:    v_mov_b32_e32 v15, 0xbf5f2ee32087; SI-NEXT:    buffer_store_dword v16, off, s[4:7], 0 offset:2122088; SI-NEXT:    buffer_store_dword v15, off, s[4:7], 0 offset:2082089; SI-NEXT:    buffer_store_dword v14, off, s[4:7], 0 offset:2042090; SI-NEXT:    buffer_store_dword v13, off, s[4:7], 0 offset:2002091; SI-NEXT:    s_waitcnt expcnt(1)2092; SI-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f52093; SI-NEXT:    v_add_i32_e32 v1, vcc, 0x200, v02094; SI-NEXT:    v_add_i32_e32 v0, vcc, s0, v02095; SI-NEXT:    buffer_store_dword v3, off, s[4:7], 0 offset:3162096; SI-NEXT:    buffer_store_dword v4, off, s[4:7], 0 offset:3122097; SI-NEXT:    buffer_store_dword v5, off, s[4:7], 0 offset:3082098; SI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:2802099; SI-NEXT:    buffer_store_dword v7, off, s[4:7], 0 offset:2762100; SI-NEXT:    buffer_store_dword v7, off, s[4:7], 0 offset:2722101; SI-NEXT:    buffer_store_dword v8, off, s[4:7], 0 offset:2682102; SI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:2482103; SI-NEXT:    buffer_store_dword v10, off, s[4:7], 0 offset:2402104; SI-NEXT:    buffer_store_dword v11, off, s[4:7], 0 offset:2322105; SI-NEXT:    buffer_store_dword v12, off, s[4:7], 0 offset:2282106; SI-NEXT:    buffer_store_dword v13, off, s[4:7], 0 offset:2242107; SI-NEXT:    buffer_store_dword v15, off, s[4:7], 0 offset:2162108; SI-NEXT:    buffer_store_dword v14, off, s[4:7], 0 offset:1962109; SI-NEXT:    v_mov_b32_e32 v17, 0x3f20e7f42110; SI-NEXT:    v_mov_b32_e32 v18, 0x3f3d349c2111; SI-NEXT:    buffer_load_dword v0, v0, s[4:7], 0 offen2112; SI-NEXT:    buffer_store_dword v17, off, s[4:7], 0 offset:8322113; SI-NEXT:    buffer_store_dword v11, off, s[4:7], 0 offset:8282114; SI-NEXT:    buffer_store_dword v10, off, s[4:7], 0 offset:8242115; SI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:8202116; SI-NEXT:    s_waitcnt expcnt(3)2117; SI-NEXT:    v_mov_b32_e32 v17, 0x3703c4992118; SI-NEXT:    buffer_store_dword v18, off, s[4:7], 0 offset:7962119; SI-NEXT:    buffer_store_dword v13, off, s[4:7], 0 offset:7922120; SI-NEXT:    buffer_store_dword v4, off, s[4:7], 0 offset:7882121; SI-NEXT:    s_waitcnt expcnt(2)2122; SI-NEXT:    v_mov_b32_e32 v18, 0xbf523be12123; SI-NEXT:    buffer_store_dword v17, off, s[4:7], 0 offset:8162124; SI-NEXT:    buffer_store_dword v8, off, s[4:7], 0 offset:8122125; SI-NEXT:    buffer_store_dword v7, off, s[4:7], 0 offset:8082126; SI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:8042127; SI-NEXT:    buffer_store_dword v12, off, s[4:7], 0 offset:8002128; SI-NEXT:    buffer_store_dword v18, off, s[4:7], 0 offset:7842129; SI-NEXT:    buffer_store_dword v5, off, s[4:7], 0 offset:7802130; SI-NEXT:    buffer_store_dword v15, off, s[4:7], 0 offset:7762131; SI-NEXT:    buffer_store_dword v6, off, s[4:7], 0 offset:7722132; SI-NEXT:    buffer_store_dword v16, off, s[4:7], 0 offset:7682133; SI-NEXT:    buffer_store_dword v5, off, s[4:7], 0 offset:7642134; SI-NEXT:    s_waitcnt expcnt(0)2135; SI-NEXT:    v_mov_b32_e32 v5, 0xbf5f2ee22136; SI-NEXT:    buffer_store_dword v5, off, s[4:7], 0 offset:7602137; SI-NEXT:    buffer_store_dword v4, off, s[4:7], 0 offset:7562138; SI-NEXT:    buffer_store_dword v18, off, s[4:7], 0 offset:7522139; SI-NEXT:    buffer_store_dword v3, off, s[4:7], 0 offset:7482140; SI-NEXT:    buffer_store_dword v13, off, s[4:7], 0 offset:7442141; SI-NEXT:    buffer_store_dword v14, off, s[4:7], 0 offset:7402142; SI-NEXT:    buffer_store_dword v11, off, s[4:7], 0 offset:7362143; SI-NEXT:    buffer_store_dword v10, off, s[4:7], 0 offset:7322144; SI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:7282145; SI-NEXT:    buffer_store_dword v17, off, s[4:7], 0 offset:7242146; SI-NEXT:    buffer_store_dword v8, off, s[4:7], 0 offset:7202147; SI-NEXT:    buffer_store_dword v7, off, s[4:7], 0 offset:7162148; SI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:7122149; SI-NEXT:    buffer_store_dword v12, off, s[4:7], 0 offset:7082150; SI-NEXT:    buffer_load_dword v1, v1, s[4:7], 0 offen2151; SI-NEXT:    s_waitcnt vmcnt(0)2152; SI-NEXT:    v_add_f32_e32 v0, v0, v12153; SI-NEXT:    s_waitcnt expcnt(0)2154; SI-NEXT:    ; return to shader part epilog2155;2156; VI-LABEL: cs_main:2157; VI:       ; %bb.0:2158; VI-NEXT:    s_mov_b32 s4, SCRATCH_RSRC_DWORD02159; VI-NEXT:    s_mov_b32 s5, SCRATCH_RSRC_DWORD12160; VI-NEXT:    s_mov_b32 s6, -12161; VI-NEXT:    s_mov_b32 s7, 0xe800002162; VI-NEXT:    s_add_u32 s4, s4, s02163; VI-NEXT:    s_addc_u32 s5, s5, 02164; VI-NEXT:    v_mov_b32_e32 v9, 0xbe31934f2165; VI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:2642166; VI-NEXT:    v_mov_b32_e32 v9, 0xb70435192167; VI-NEXT:    v_mov_b32_e32 v2, 0xbf20e7f42168; VI-NEXT:    v_mov_b32_e32 v6, 0x3f638e372169; VI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:2602170; VI-NEXT:    v_mov_b32_e32 v9, 0xb702e7582171; VI-NEXT:    v_lshlrev_b32_e32 v0, 2, v02172; VI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:3202173; VI-NEXT:    v_mov_b32_e32 v3, 0x3f3d349e2174; VI-NEXT:    v_mov_b32_e32 v4, 0x3f523be12175; VI-NEXT:    v_mov_b32_e32 v5, 0x3f5f2ee22176; VI-NEXT:    buffer_store_dword v6, off, s[4:7], 0 offset:3042177; VI-NEXT:    buffer_store_dword v5, off, s[4:7], 0 offset:3002178; VI-NEXT:    buffer_store_dword v4, off, s[4:7], 0 offset:2962179; VI-NEXT:    buffer_store_dword v3, off, s[4:7], 0 offset:2922180; VI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:2882181; VI-NEXT:    v_mov_b32_e32 v2, 0xbefcd8a32182; VI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:2562183; VI-NEXT:    v_mov_b32_e32 v9, 0x3e31934f2184; VI-NEXT:    v_mov_b32_e32 v10, 0x3eae29d82185; VI-NEXT:    v_mov_b32_e32 v11, 0x3efcd89c2186; VI-NEXT:    v_mov_b32_e32 v14, 0xbf523be32187; VI-NEXT:    v_mov_b32_e32 v16, 0xbf638e392188; VI-NEXT:    v_and_b32_e32 v0, 0x1fc, v02189; VI-NEXT:    s_mov_b32 s0, 02190; VI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:2842191; VI-NEXT:    v_mov_b32_e32 v2, 0xbefcd89f2192; VI-NEXT:    v_mov_b32_e32 v7, 0xbeae29dc2193; VI-NEXT:    v_mov_b32_e32 v8, 0xbe3193562194; VI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:2522195; VI-NEXT:    v_mov_b32_e32 v9, 0x3e3193562196; VI-NEXT:    buffer_store_dword v10, off, s[4:7], 0 offset:2442197; VI-NEXT:    v_mov_b32_e32 v10, 0x3eae29dc2198; VI-NEXT:    buffer_store_dword v11, off, s[4:7], 0 offset:2362199; VI-NEXT:    v_mov_b32_e32 v11, 0x3efcd89f2200; VI-NEXT:    v_mov_b32_e32 v12, 0xbf20e7f52201; VI-NEXT:    v_mov_b32_e32 v13, 0xbf3d349e2202; VI-NEXT:    buffer_store_dword v14, off, s[4:7], 0 offset:2202203; VI-NEXT:    v_mov_b32_e32 v15, 0xbf5f2ee32204; VI-NEXT:    buffer_store_dword v16, off, s[4:7], 0 offset:2122205; VI-NEXT:    buffer_store_dword v15, off, s[4:7], 0 offset:2082206; VI-NEXT:    buffer_store_dword v14, off, s[4:7], 0 offset:2042207; VI-NEXT:    buffer_store_dword v13, off, s[4:7], 0 offset:2002208; VI-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f52209; VI-NEXT:    v_add_u32_e32 v1, vcc, 0x200, v02210; VI-NEXT:    v_add_u32_e32 v0, vcc, s0, v02211; VI-NEXT:    buffer_store_dword v3, off, s[4:7], 0 offset:3162212; VI-NEXT:    buffer_store_dword v4, off, s[4:7], 0 offset:3122213; VI-NEXT:    buffer_store_dword v5, off, s[4:7], 0 offset:3082214; VI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:2802215; VI-NEXT:    buffer_store_dword v7, off, s[4:7], 0 offset:2762216; VI-NEXT:    buffer_store_dword v7, off, s[4:7], 0 offset:2722217; VI-NEXT:    buffer_store_dword v8, off, s[4:7], 0 offset:2682218; VI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:2482219; VI-NEXT:    buffer_store_dword v10, off, s[4:7], 0 offset:2402220; VI-NEXT:    buffer_store_dword v11, off, s[4:7], 0 offset:2322221; VI-NEXT:    buffer_store_dword v12, off, s[4:7], 0 offset:2282222; VI-NEXT:    buffer_store_dword v13, off, s[4:7], 0 offset:2242223; VI-NEXT:    buffer_store_dword v15, off, s[4:7], 0 offset:2162224; VI-NEXT:    buffer_store_dword v14, off, s[4:7], 0 offset:1962225; VI-NEXT:    v_mov_b32_e32 v17, 0x3f20e7f42226; VI-NEXT:    v_mov_b32_e32 v18, 0x3f3d349c2227; VI-NEXT:    buffer_load_dword v0, v0, s[4:7], 0 offen2228; VI-NEXT:    buffer_store_dword v17, off, s[4:7], 0 offset:8322229; VI-NEXT:    buffer_store_dword v11, off, s[4:7], 0 offset:8282230; VI-NEXT:    buffer_store_dword v10, off, s[4:7], 0 offset:8242231; VI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:8202232; VI-NEXT:    v_mov_b32_e32 v17, 0x3703c4992233; VI-NEXT:    buffer_store_dword v18, off, s[4:7], 0 offset:7962234; VI-NEXT:    buffer_store_dword v13, off, s[4:7], 0 offset:7922235; VI-NEXT:    buffer_store_dword v4, off, s[4:7], 0 offset:7882236; VI-NEXT:    v_mov_b32_e32 v18, 0xbf523be12237; VI-NEXT:    buffer_store_dword v17, off, s[4:7], 0 offset:8162238; VI-NEXT:    buffer_store_dword v8, off, s[4:7], 0 offset:8122239; VI-NEXT:    buffer_store_dword v7, off, s[4:7], 0 offset:8082240; VI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:8042241; VI-NEXT:    buffer_store_dword v12, off, s[4:7], 0 offset:8002242; VI-NEXT:    buffer_store_dword v18, off, s[4:7], 0 offset:7842243; VI-NEXT:    buffer_store_dword v5, off, s[4:7], 0 offset:7802244; VI-NEXT:    buffer_store_dword v15, off, s[4:7], 0 offset:7762245; VI-NEXT:    buffer_store_dword v6, off, s[4:7], 0 offset:7722246; VI-NEXT:    buffer_store_dword v16, off, s[4:7], 0 offset:7682247; VI-NEXT:    buffer_store_dword v5, off, s[4:7], 0 offset:7642248; VI-NEXT:    v_mov_b32_e32 v5, 0xbf5f2ee22249; VI-NEXT:    buffer_store_dword v5, off, s[4:7], 0 offset:7602250; VI-NEXT:    buffer_store_dword v4, off, s[4:7], 0 offset:7562251; VI-NEXT:    buffer_store_dword v18, off, s[4:7], 0 offset:7522252; VI-NEXT:    buffer_store_dword v3, off, s[4:7], 0 offset:7482253; VI-NEXT:    buffer_store_dword v13, off, s[4:7], 0 offset:7442254; VI-NEXT:    buffer_store_dword v14, off, s[4:7], 0 offset:7402255; VI-NEXT:    buffer_store_dword v11, off, s[4:7], 0 offset:7362256; VI-NEXT:    buffer_store_dword v10, off, s[4:7], 0 offset:7322257; VI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:7282258; VI-NEXT:    buffer_store_dword v17, off, s[4:7], 0 offset:7242259; VI-NEXT:    buffer_store_dword v8, off, s[4:7], 0 offset:7202260; VI-NEXT:    buffer_store_dword v7, off, s[4:7], 0 offset:7162261; VI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:7122262; VI-NEXT:    buffer_store_dword v12, off, s[4:7], 0 offset:7082263; VI-NEXT:    buffer_load_dword v1, v1, s[4:7], 0 offen2264; VI-NEXT:    s_waitcnt vmcnt(0)2265; VI-NEXT:    v_add_f32_e32 v0, v0, v12266; VI-NEXT:    ; return to shader part epilog2267;2268; GFX9-MUBUF-LABEL: cs_main:2269; GFX9-MUBUF:       ; %bb.0:2270; GFX9-MUBUF-NEXT:    s_mov_b32 s4, s02271; GFX9-MUBUF-NEXT:    s_mov_b32 s0, SCRATCH_RSRC_DWORD02272; GFX9-MUBUF-NEXT:    s_mov_b32 s1, SCRATCH_RSRC_DWORD12273; GFX9-MUBUF-NEXT:    s_mov_b32 s2, -12274; GFX9-MUBUF-NEXT:    s_mov_b32 s3, 0xe000002275; GFX9-MUBUF-NEXT:    s_add_u32 s0, s0, s42276; GFX9-MUBUF-NEXT:    s_addc_u32 s1, s1, 02277; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v9, 0xbe31934f2278; GFX9-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:2642279; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v9, 0xb70435192280; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v2, 0xbf20e7f42281; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v6, 0x3f638e372282; GFX9-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:2602283; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v9, 0xb702e7582284; GFX9-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:3202285; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v3, 0x3f3d349e2286; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v4, 0x3f523be12287; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v5, 0x3f5f2ee22288; GFX9-MUBUF-NEXT:    buffer_store_dword v6, off, s[0:3], 0 offset:3042289; GFX9-MUBUF-NEXT:    buffer_store_dword v5, off, s[0:3], 0 offset:3002290; GFX9-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:2962291; GFX9-MUBUF-NEXT:    buffer_store_dword v3, off, s[0:3], 0 offset:2922292; GFX9-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:2882293; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v2, 0xbefcd8a32294; GFX9-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:2562295; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v9, 0x3e31934f2296; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v10, 0x3eae29d82297; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v11, 0x3efcd89c2298; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v14, 0xbf523be32299; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v16, 0xbf638e392300; GFX9-MUBUF-NEXT:    v_lshlrev_b32_e32 v0, 2, v02301; GFX9-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:2842302; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v2, 0xbefcd89f2303; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v7, 0xbeae29dc2304; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v8, 0xbe3193562305; GFX9-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:2522306; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v9, 0x3e3193562307; GFX9-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:2442308; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v10, 0x3eae29dc2309; GFX9-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:2362310; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v11, 0x3efcd89f2311; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v12, 0xbf20e7f52312; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v13, 0xbf3d349e2313; GFX9-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:2202314; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v15, 0xbf5f2ee32315; GFX9-MUBUF-NEXT:    buffer_store_dword v16, off, s[0:3], 0 offset:2122316; GFX9-MUBUF-NEXT:    buffer_store_dword v15, off, s[0:3], 0 offset:2082317; GFX9-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:2042318; GFX9-MUBUF-NEXT:    buffer_store_dword v13, off, s[0:3], 0 offset:2002319; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f52320; GFX9-MUBUF-NEXT:    v_and_b32_e32 v0, 0x1fc, v02321; GFX9-MUBUF-NEXT:    buffer_store_dword v3, off, s[0:3], 0 offset:3162322; GFX9-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:3122323; GFX9-MUBUF-NEXT:    buffer_store_dword v5, off, s[0:3], 0 offset:3082324; GFX9-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:2802325; GFX9-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:2762326; GFX9-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:2722327; GFX9-MUBUF-NEXT:    buffer_store_dword v8, off, s[0:3], 0 offset:2682328; GFX9-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:2482329; GFX9-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:2402330; GFX9-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:2322331; GFX9-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:2282332; GFX9-MUBUF-NEXT:    buffer_store_dword v13, off, s[0:3], 0 offset:2242333; GFX9-MUBUF-NEXT:    buffer_store_dword v15, off, s[0:3], 0 offset:2162334; GFX9-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:1962335; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v17, 0x3f20e7f42336; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v18, 0x3f3d349c2337; GFX9-MUBUF-NEXT:    v_add_u32_e32 v1, 0x200, v02338; GFX9-MUBUF-NEXT:    buffer_load_dword v0, v0, s[0:3], 0 offen2339; GFX9-MUBUF-NEXT:    s_nop 02340; GFX9-MUBUF-NEXT:    buffer_store_dword v17, off, s[0:3], 0 offset:8322341; GFX9-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:8282342; GFX9-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:8242343; GFX9-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:8202344; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v17, 0x3703c4992345; GFX9-MUBUF-NEXT:    buffer_store_dword v18, off, s[0:3], 0 offset:7962346; GFX9-MUBUF-NEXT:    buffer_store_dword v13, off, s[0:3], 0 offset:7922347; GFX9-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:7882348; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v18, 0xbf523be12349; GFX9-MUBUF-NEXT:    buffer_store_dword v17, off, s[0:3], 0 offset:8162350; GFX9-MUBUF-NEXT:    buffer_store_dword v8, off, s[0:3], 0 offset:8122351; GFX9-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:8082352; GFX9-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:8042353; GFX9-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:8002354; GFX9-MUBUF-NEXT:    buffer_store_dword v18, off, s[0:3], 0 offset:7842355; GFX9-MUBUF-NEXT:    buffer_store_dword v5, off, s[0:3], 0 offset:7802356; GFX9-MUBUF-NEXT:    buffer_store_dword v15, off, s[0:3], 0 offset:7762357; GFX9-MUBUF-NEXT:    buffer_store_dword v6, off, s[0:3], 0 offset:7722358; GFX9-MUBUF-NEXT:    buffer_store_dword v16, off, s[0:3], 0 offset:7682359; GFX9-MUBUF-NEXT:    buffer_store_dword v5, off, s[0:3], 0 offset:7642360; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v5, 0xbf5f2ee22361; GFX9-MUBUF-NEXT:    buffer_store_dword v5, off, s[0:3], 0 offset:7602362; GFX9-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:7562363; GFX9-MUBUF-NEXT:    buffer_store_dword v18, off, s[0:3], 0 offset:7522364; GFX9-MUBUF-NEXT:    buffer_store_dword v3, off, s[0:3], 0 offset:7482365; GFX9-MUBUF-NEXT:    buffer_store_dword v13, off, s[0:3], 0 offset:7442366; GFX9-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:7402367; GFX9-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:7362368; GFX9-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:7322369; GFX9-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:7282370; GFX9-MUBUF-NEXT:    buffer_store_dword v17, off, s[0:3], 0 offset:7242371; GFX9-MUBUF-NEXT:    buffer_store_dword v8, off, s[0:3], 0 offset:7202372; GFX9-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:7162373; GFX9-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:7122374; GFX9-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:7082375; GFX9-MUBUF-NEXT:    buffer_load_dword v1, v1, s[0:3], 0 offen2376; GFX9-MUBUF-NEXT:    s_waitcnt vmcnt(0)2377; GFX9-MUBUF-NEXT:    v_add_f32_e32 v0, v0, v12378; GFX9-MUBUF-NEXT:    ; return to shader part epilog2379;2380; GFX10_W32-MUBUF-LABEL: cs_main:2381; GFX10_W32-MUBUF:       ; %bb.0:2382; GFX10_W32-MUBUF-NEXT:    s_mov_b32 s4, s02383; GFX10_W32-MUBUF-NEXT:    s_mov_b32 s0, SCRATCH_RSRC_DWORD02384; GFX10_W32-MUBUF-NEXT:    s_mov_b32 s1, SCRATCH_RSRC_DWORD12385; GFX10_W32-MUBUF-NEXT:    s_mov_b32 s2, -12386; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v1, 0xbf20e7f42387; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v2, 0x3f3d349e2388; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v3, 0x3f523be12389; GFX10_W32-MUBUF-NEXT:    s_mov_b32 s3, 0x31c160002390; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v4, 0x3f5f2ee22391; GFX10_W32-MUBUF-NEXT:    s_add_u32 s0, s0, s42392; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v5, 0x3f638e372393; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v7, 0xbefcd8a32394; GFX10_W32-MUBUF-NEXT:    s_addc_u32 s1, s1, 02395; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v8, 0xbefcd89f2396; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v9, 0xbeae29dc2397; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v1, off, s[0:3], 0 offset:3202398; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:3162399; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v3, off, s[0:3], 0 offset:3122400; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:3082401; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v5, off, s[0:3], 0 offset:3042402; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:3002403; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:2922404; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v1, off, s[0:3], 0 offset:2882405; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:2842406; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v8, off, s[0:3], 0 offset:2802407; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:2762408; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:2722409; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v1, 0xbe3193562410; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v7, 0xbe31934f2411; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v10, 0xb70435192412; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v11, 0xb702e7582413; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v12, 0x3e31934f2414; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v1, off, s[0:3], 0 offset:2682415; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:2642416; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:2602417; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:2562418; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:2522419; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v7, 0x3e3193562420; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v10, 0x3eae29d82421; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v11, 0x3eae29dc2422; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v12, 0x3efcd89c2423; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v13, 0x3efcd89f2424; GFX10_W32-MUBUF-NEXT:    v_lshlrev_b32_e32 v0, 2, v02425; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:2482426; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:2442427; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:2402428; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:2362429; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v13, off, s[0:3], 0 offset:2322430; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v10, 0xbf20e7f52431; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v15, 0xbf5f2ee32432; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v12, 0xbf3d349e2433; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v14, 0xbf523be32434; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v16, 0xbf638e392435; GFX10_W32-MUBUF-NEXT:    v_and_b32_e32 v0, 0x1fc, v02436; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:2282437; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:2242438; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:2202439; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v15, off, s[0:3], 0 offset:2162440; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v16, off, s[0:3], 0 offset:2122441; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v17, 0x3f20e7f52442; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v15, off, s[0:3], 0 offset:2082443; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:2042444; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f42445; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v3, off, s[0:3], 0 offset:2962446; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:2002447; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v17, off, s[0:3], 0 offset:1962448; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v18, 0x3703c4992449; GFX10_W32-MUBUF-NEXT:    v_add_nc_u32_e32 v6, 0x200, v02450; GFX10_W32-MUBUF-NEXT:    buffer_load_dword v0, v0, s[0:3], 0 offen2451; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:8322452; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v13, off, s[0:3], 0 offset:8282453; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:8242454; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:8202455; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v18, off, s[0:3], 0 offset:8162456; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v1, off, s[0:3], 0 offset:8122457; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v14, 0x3f3d349c2458; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v19, 0xbf523be12459; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:8002460; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:7962461; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:7922462; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v3, off, s[0:3], 0 offset:7882463; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v19, off, s[0:3], 0 offset:7842464; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:7802465; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v14, 0xbf5f2ee22466; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:8082467; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v8, off, s[0:3], 0 offset:8042468; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v15, off, s[0:3], 0 offset:7762469; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v5, off, s[0:3], 0 offset:7722470; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v16, off, s[0:3], 0 offset:7682471; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:7642472; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:7602473; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v3, off, s[0:3], 0 offset:7562474; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v19, off, s[0:3], 0 offset:7522475; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:7482476; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:7442477; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v17, off, s[0:3], 0 offset:7402478; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v13, off, s[0:3], 0 offset:7362479; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:7322480; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:7282481; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v18, off, s[0:3], 0 offset:7242482; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v1, off, s[0:3], 0 offset:7202483; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:7162484; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v8, off, s[0:3], 0 offset:7122485; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:7082486; GFX10_W32-MUBUF-NEXT:    buffer_load_dword v1, v6, s[0:3], 0 offen2487; GFX10_W32-MUBUF-NEXT:    s_waitcnt vmcnt(0)2488; GFX10_W32-MUBUF-NEXT:    v_add_f32_e32 v0, v0, v12489; GFX10_W32-MUBUF-NEXT:    ; return to shader part epilog2490;2491; GFX10_W64-MUBUF-LABEL: cs_main:2492; GFX10_W64-MUBUF:       ; %bb.0:2493; GFX10_W64-MUBUF-NEXT:    s_mov_b32 s4, s02494; GFX10_W64-MUBUF-NEXT:    s_mov_b32 s0, SCRATCH_RSRC_DWORD02495; GFX10_W64-MUBUF-NEXT:    s_mov_b32 s1, SCRATCH_RSRC_DWORD12496; GFX10_W64-MUBUF-NEXT:    s_mov_b32 s2, -12497; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v1, 0xbf20e7f42498; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v2, 0x3f3d349e2499; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v3, 0x3f523be12500; GFX10_W64-MUBUF-NEXT:    s_mov_b32 s3, 0x31e160002501; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v4, 0x3f5f2ee22502; GFX10_W64-MUBUF-NEXT:    s_add_u32 s0, s0, s42503; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v5, 0x3f638e372504; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v7, 0xbefcd8a32505; GFX10_W64-MUBUF-NEXT:    s_addc_u32 s1, s1, 02506; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v8, 0xbefcd89f2507; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v9, 0xbeae29dc2508; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v1, off, s[0:3], 0 offset:3202509; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:3162510; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v3, off, s[0:3], 0 offset:3122511; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:3082512; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v5, off, s[0:3], 0 offset:3042513; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:3002514; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:2922515; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v1, off, s[0:3], 0 offset:2882516; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:2842517; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v8, off, s[0:3], 0 offset:2802518; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:2762519; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:2722520; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v1, 0xbe3193562521; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v7, 0xbe31934f2522; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v10, 0xb70435192523; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v11, 0xb702e7582524; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v12, 0x3e31934f2525; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v1, off, s[0:3], 0 offset:2682526; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:2642527; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:2602528; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:2562529; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:2522530; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v7, 0x3e3193562531; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v10, 0x3eae29d82532; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v11, 0x3eae29dc2533; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v12, 0x3efcd89c2534; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v13, 0x3efcd89f2535; GFX10_W64-MUBUF-NEXT:    v_lshlrev_b32_e32 v0, 2, v02536; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:2482537; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:2442538; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:2402539; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:2362540; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v13, off, s[0:3], 0 offset:2322541; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v10, 0xbf20e7f52542; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v15, 0xbf5f2ee32543; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v12, 0xbf3d349e2544; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v14, 0xbf523be32545; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v16, 0xbf638e392546; GFX10_W64-MUBUF-NEXT:    v_and_b32_e32 v0, 0x1fc, v02547; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:2282548; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:2242549; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:2202550; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v15, off, s[0:3], 0 offset:2162551; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v16, off, s[0:3], 0 offset:2122552; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v17, 0x3f20e7f52553; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v15, off, s[0:3], 0 offset:2082554; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:2042555; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f42556; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v3, off, s[0:3], 0 offset:2962557; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:2002558; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v17, off, s[0:3], 0 offset:1962559; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v18, 0x3703c4992560; GFX10_W64-MUBUF-NEXT:    v_add_nc_u32_e32 v6, 0x200, v02561; GFX10_W64-MUBUF-NEXT:    buffer_load_dword v0, v0, s[0:3], 0 offen2562; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:8322563; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v13, off, s[0:3], 0 offset:8282564; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:8242565; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:8202566; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v18, off, s[0:3], 0 offset:8162567; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v1, off, s[0:3], 0 offset:8122568; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v14, 0x3f3d349c2569; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v19, 0xbf523be12570; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:8002571; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:7962572; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:7922573; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v3, off, s[0:3], 0 offset:7882574; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v19, off, s[0:3], 0 offset:7842575; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:7802576; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v14, 0xbf5f2ee22577; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:8082578; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v8, off, s[0:3], 0 offset:8042579; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v15, off, s[0:3], 0 offset:7762580; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v5, off, s[0:3], 0 offset:7722581; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v16, off, s[0:3], 0 offset:7682582; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:7642583; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:7602584; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v3, off, s[0:3], 0 offset:7562585; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v19, off, s[0:3], 0 offset:7522586; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:7482587; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:7442588; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v17, off, s[0:3], 0 offset:7402589; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v13, off, s[0:3], 0 offset:7362590; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:7322591; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:7282592; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v18, off, s[0:3], 0 offset:7242593; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v1, off, s[0:3], 0 offset:7202594; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:7162595; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v8, off, s[0:3], 0 offset:7122596; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:7082597; GFX10_W64-MUBUF-NEXT:    buffer_load_dword v1, v6, s[0:3], 0 offen2598; GFX10_W64-MUBUF-NEXT:    s_waitcnt vmcnt(0)2599; GFX10_W64-MUBUF-NEXT:    v_add_f32_e32 v0, v0, v12600; GFX10_W64-MUBUF-NEXT:    ; return to shader part epilog2601;2602; GFX9-FLATSCR-LABEL: cs_main:2603; GFX9-FLATSCR:       ; %bb.0:2604; GFX9-FLATSCR-NEXT:    s_add_u32 flat_scratch_lo, s0, s22605; GFX9-FLATSCR-NEXT:    s_addc_u32 flat_scratch_hi, s1, 02606; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v4, 0xbf20e7f42607; GFX9-FLATSCR-NEXT:    s_mov_b32 s0, 02608; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v1, 0x3f5f2ee22609; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v2, 0x3f523be12610; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v3, 0x3f3d349e2611; GFX9-FLATSCR-NEXT:    v_lshlrev_b32_e32 v0, 2, v02612; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[4:7], s0 offset:3202613; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v21, 0xbeae29dc2614; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v5, v32615; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v6, v22616; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v7, v12617; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v10, 0x3eae29dc2618; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v11, 0x3eae29d82619; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v12, 0x3e3193562620; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v13, 0x3e31934f2621; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v15, 0xbf3d349e2622; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v16, 0xbf20e7f52623; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v17, 0x3efcd89f2624; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v18, 0x3efcd89c2625; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v26, 0xbf5f2ee32626; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v29, 0xbf523be32627; GFX9-FLATSCR-NEXT:    v_and_b32_e32 v31, 0x1fc, v02628; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v0, 0x3f638e372629; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[4:7], s0 offset:2882630; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v23, 0xbefcd89f2631; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v24, 0xbefcd8a32632; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v22, v212633; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v4, 0xb702e7582634; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v5, 0xb70435192635; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v6, 0xbe31934f2636; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v7, 0xbe3193562637; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[10:13], s0 offset:2402638; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[15:18], s0 offset:2242639; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v27, 0xbf638e392640; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v28, v262641; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v18, 0x3f20e7f52642; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v19, v152643; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v20, v292644; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v11, 0x3703c4992645; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:3042646; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[21:24], s0 offset:2722647; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[4:7], s0 offset:2562648; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[26:29], s0 offset:2082649; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[17:20], s0 offset:1922650; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v4, v312651; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v8, v112652; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v9, v122653; GFX9-FLATSCR-NEXT:    scratch_load_dword v32, v4, off2654; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v25, v72655; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[7:10], s0 offset:7202656; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v4, 0xbf523be12657; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v7, 0x3f3d349c2658; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v5, v22659; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v6, v152660; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v20, v32661; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v13, v102662; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v14, v172663; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v28, v02664; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v29, v262665; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v30, v12666; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v0, 0x3f20e7f42667; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[4:7], s0 offset:7842668; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v22, v162669; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v6, 0xbf5f2ee22670; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v7, v12671; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v24, v212672; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[17:20], s0 offset:7362673; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[11:14], s0 offset:8162674; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v17, v232675; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v18, v212676; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[27:30], s0 offset:7682677; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:8322678; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[4:7], s0 offset:7522679; GFX9-FLATSCR-NEXT:    v_add_u32_e32 v0, 0x200, v312680; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[22:25], s0 offset:8002681; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[15:18], s0 offset:7042682; GFX9-FLATSCR-NEXT:    scratch_load_dword v0, v0, off2683; GFX9-FLATSCR-NEXT:    s_waitcnt vmcnt(0)2684; GFX9-FLATSCR-NEXT:    v_add_f32_e32 v0, v32, v02685; GFX9-FLATSCR-NEXT:    ; return to shader part epilog2686;2687; GFX10-FLATSCR-LABEL: cs_main:2688; GFX10-FLATSCR:       ; %bb.0:2689; GFX10-FLATSCR-NEXT:    s_add_u32 s0, s0, s22690; GFX10-FLATSCR-NEXT:    s_addc_u32 s1, s1, 02691; GFX10-FLATSCR-NEXT:    s_setreg_b32 hwreg(HW_REG_FLAT_SCR_LO), s02692; GFX10-FLATSCR-NEXT:    s_setreg_b32 hwreg(HW_REG_FLAT_SCR_HI), s12693; GFX10-FLATSCR-NEXT:    v_lshlrev_b32_e32 v0, 2, v02694; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v1, 0xbf20e7f42695; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v27, 0x3f5f2ee22696; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v29, 0x3f3d349e2697; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v28, 0x3f523be12698; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v17, 0xbeae29dc2699; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v26, 0x3f638e372700; GFX10-FLATSCR-NEXT:    v_and_b32_e32 v0, 0x1fc, v02701; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[1:4], off offset:3202702; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v2, v292703; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v3, v282704; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v4, v272705; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v22, 0xbf5f2ee32706; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v19, 0xbefcd89f2707; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v20, 0xbefcd8a32708; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v18, v172709; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v11, 0xbf3d349e2710; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v12, 0xbf20e7f52711; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v13, 0x3efcd89f2712; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v14, 0x3efcd89c2713; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v25, 0xbf523be32714; GFX10-FLATSCR-NEXT:    v_add_nc_u32_e32 v34, 0x200, v02715; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v5, v02716; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[26:29], off offset:3042717; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[1:4], off offset:2882718; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[17:20], off offset:2722719; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v0, 0xb702e7582720; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v1, 0xb70435192721; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v2, 0xbe31934f2722; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v3, 0xbe3193562723; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v6, 0x3eae29dc2724; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v7, 0x3eae29d82725; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v8, 0x3e3193562726; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v9, 0x3e31934f2727; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v23, 0xbf638e392728; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v24, v222729; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[11:14], off offset:2242730; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f52731; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v15, v112732; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v16, v252733; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[0:3], off offset:2562734; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[6:9], off offset:2402735; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[22:25], off offset:2082736; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[13:16], off offset:1922737; GFX10-FLATSCR-NEXT:    scratch_load_dword v1, v5, off2738; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v30, 0xbf523be12739; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v33, 0x3f3d349c2740; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v31, v282741; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v32, v112742; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v7, 0x3703c4992743; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v16, v292744; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v0, 0x3f20e7f42745; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v9, v62746; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v10, v132747; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v18, v122748; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v20, v172749; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v21, v32750; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v24, v262751; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v25, v222752; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v26, v272753; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[30:33], off offset:7842754; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v32, 0xbf5f2ee22755; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v33, v272756; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v4, v72757; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v5, v82758; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[13:16], off offset:7362759; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v13, v192760; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v14, v172761; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[7:10], off offset:8162762; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[18:21], off offset:8002763; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[23:26], off offset:7682764; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[30:33], off offset:7522765; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[3:6], off offset:7202766; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[11:14], off offset:7042767; GFX10-FLATSCR-NEXT:    s_waitcnt vmcnt(0)2768; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[0:3], off offset:8322769; GFX10-FLATSCR-NEXT:    scratch_load_dword v0, v34, off2770; GFX10-FLATSCR-NEXT:    s_waitcnt vmcnt(0)2771; GFX10-FLATSCR-NEXT:    v_add_f32_e32 v0, v1, v02772; GFX10-FLATSCR-NEXT:    ; return to shader part epilog2773;2774; GFX9-FLATSCR-PAL-LABEL: cs_main:2775; GFX9-FLATSCR-PAL:       ; %bb.0:2776; GFX9-FLATSCR-PAL-NEXT:    s_getpc_b64 s[2:3]2777; GFX9-FLATSCR-PAL-NEXT:    s_mov_b32 s2, s02778; GFX9-FLATSCR-PAL-NEXT:    s_load_dwordx2 s[2:3], s[2:3], 0x102779; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v4, 0xbf20e7f42780; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v1, 0x3f5f2ee22781; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v2, 0x3f523be12782; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v3, 0x3f3d349e2783; GFX9-FLATSCR-PAL-NEXT:    s_waitcnt lgkmcnt(0)2784; GFX9-FLATSCR-PAL-NEXT:    s_and_b32 s3, s3, 0xffff2785; GFX9-FLATSCR-PAL-NEXT:    s_add_u32 flat_scratch_lo, s2, s02786; GFX9-FLATSCR-PAL-NEXT:    s_addc_u32 flat_scratch_hi, s3, 02787; GFX9-FLATSCR-PAL-NEXT:    s_mov_b32 s0, 02788; GFX9-FLATSCR-PAL-NEXT:    v_lshlrev_b32_e32 v0, 2, v02789; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[4:7], s0 offset:3202790; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v21, 0xbeae29dc2791; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v5, v32792; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v6, v22793; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v7, v12794; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v10, 0x3eae29dc2795; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v11, 0x3eae29d82796; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v12, 0x3e3193562797; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v13, 0x3e31934f2798; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v15, 0xbf3d349e2799; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v16, 0xbf20e7f52800; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v17, 0x3efcd89f2801; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v18, 0x3efcd89c2802; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v26, 0xbf5f2ee32803; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v29, 0xbf523be32804; GFX9-FLATSCR-PAL-NEXT:    v_and_b32_e32 v31, 0x1fc, v02805; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v0, 0x3f638e372806; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[4:7], s0 offset:2882807; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v23, 0xbefcd89f2808; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v24, 0xbefcd8a32809; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v22, v212810; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v4, 0xb702e7582811; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v5, 0xb70435192812; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v6, 0xbe31934f2813; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v7, 0xbe3193562814; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[10:13], s0 offset:2402815; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[15:18], s0 offset:2242816; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v27, 0xbf638e392817; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v28, v262818; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v18, 0x3f20e7f52819; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v19, v152820; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v20, v292821; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v11, 0x3703c4992822; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:3042823; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[21:24], s0 offset:2722824; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[4:7], s0 offset:2562825; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[26:29], s0 offset:2082826; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[17:20], s0 offset:1922827; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v4, v312828; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v8, v112829; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v9, v122830; GFX9-FLATSCR-PAL-NEXT:    scratch_load_dword v32, v4, off2831; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v25, v72832; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[7:10], s0 offset:7202833; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v4, 0xbf523be12834; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v7, 0x3f3d349c2835; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v5, v22836; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v6, v152837; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v20, v32838; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v13, v102839; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v14, v172840; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v28, v02841; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v29, v262842; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v30, v12843; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v0, 0x3f20e7f42844; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[4:7], s0 offset:7842845; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v22, v162846; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v6, 0xbf5f2ee22847; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v7, v12848; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v24, v212849; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[17:20], s0 offset:7362850; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[11:14], s0 offset:8162851; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v17, v232852; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v18, v212853; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[27:30], s0 offset:7682854; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:8322855; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[4:7], s0 offset:7522856; GFX9-FLATSCR-PAL-NEXT:    v_add_u32_e32 v0, 0x200, v312857; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[22:25], s0 offset:8002858; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[15:18], s0 offset:7042859; GFX9-FLATSCR-PAL-NEXT:    scratch_load_dword v0, v0, off2860; GFX9-FLATSCR-PAL-NEXT:    s_waitcnt vmcnt(0)2861; GFX9-FLATSCR-PAL-NEXT:    v_add_f32_e32 v0, v32, v02862; GFX9-FLATSCR-PAL-NEXT:    ; return to shader part epilog2863;2864; GFX10-FLATSCR-PAL-LABEL: cs_main:2865; GFX10-FLATSCR-PAL:       ; %bb.0:2866; GFX10-FLATSCR-PAL-NEXT:    s_getpc_b64 s[2:3]2867; GFX10-FLATSCR-PAL-NEXT:    s_mov_b32 s2, s02868; GFX10-FLATSCR-PAL-NEXT:    s_load_dwordx2 s[2:3], s[2:3], 0x102869; GFX10-FLATSCR-PAL-NEXT:    s_waitcnt lgkmcnt(0)2870; GFX10-FLATSCR-PAL-NEXT:    s_and_b32 s3, s3, 0xffff2871; GFX10-FLATSCR-PAL-NEXT:    s_add_u32 s2, s2, s02872; GFX10-FLATSCR-PAL-NEXT:    s_addc_u32 s3, s3, 02873; GFX10-FLATSCR-PAL-NEXT:    s_setreg_b32 hwreg(HW_REG_FLAT_SCR_LO), s22874; GFX10-FLATSCR-PAL-NEXT:    s_setreg_b32 hwreg(HW_REG_FLAT_SCR_HI), s32875; GFX10-FLATSCR-PAL-NEXT:    v_lshlrev_b32_e32 v0, 2, v02876; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v1, 0xbf20e7f42877; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v27, 0x3f5f2ee22878; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v29, 0x3f3d349e2879; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v28, 0x3f523be12880; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v17, 0xbeae29dc2881; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v26, 0x3f638e372882; GFX10-FLATSCR-PAL-NEXT:    v_and_b32_e32 v0, 0x1fc, v02883; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[1:4], off offset:3202884; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v2, v292885; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v3, v282886; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v4, v272887; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v22, 0xbf5f2ee32888; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v19, 0xbefcd89f2889; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v20, 0xbefcd8a32890; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v18, v172891; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v11, 0xbf3d349e2892; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v12, 0xbf20e7f52893; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v13, 0x3efcd89f2894; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v14, 0x3efcd89c2895; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v25, 0xbf523be32896; GFX10-FLATSCR-PAL-NEXT:    v_add_nc_u32_e32 v34, 0x200, v02897; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v5, v02898; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[26:29], off offset:3042899; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[1:4], off offset:2882900; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[17:20], off offset:2722901; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v0, 0xb702e7582902; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v1, 0xb70435192903; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v2, 0xbe31934f2904; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v3, 0xbe3193562905; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v6, 0x3eae29dc2906; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v7, 0x3eae29d82907; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v8, 0x3e3193562908; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v9, 0x3e31934f2909; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v23, 0xbf638e392910; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v24, v222911; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[11:14], off offset:2242912; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f52913; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v15, v112914; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v16, v252915; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[0:3], off offset:2562916; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[6:9], off offset:2402917; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[22:25], off offset:2082918; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[13:16], off offset:1922919; GFX10-FLATSCR-PAL-NEXT:    scratch_load_dword v1, v5, off2920; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v30, 0xbf523be12921; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v33, 0x3f3d349c2922; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v31, v282923; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v32, v112924; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v7, 0x3703c4992925; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v16, v292926; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v0, 0x3f20e7f42927; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v9, v62928; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v10, v132929; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v18, v122930; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v20, v172931; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v21, v32932; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v24, v262933; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v25, v222934; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v26, v272935; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[30:33], off offset:7842936; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v32, 0xbf5f2ee22937; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v33, v272938; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v4, v72939; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v5, v82940; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[13:16], off offset:7362941; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v13, v192942; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v14, v172943; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[7:10], off offset:8162944; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[18:21], off offset:8002945; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[23:26], off offset:7682946; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[30:33], off offset:7522947; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[3:6], off offset:7202948; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[11:14], off offset:7042949; GFX10-FLATSCR-PAL-NEXT:    s_waitcnt vmcnt(0)2950; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[0:3], off offset:8322951; GFX10-FLATSCR-PAL-NEXT:    scratch_load_dword v0, v34, off2952; GFX10-FLATSCR-PAL-NEXT:    s_waitcnt vmcnt(0)2953; GFX10-FLATSCR-PAL-NEXT:    v_add_f32_e32 v0, v1, v02954; GFX10-FLATSCR-PAL-NEXT:    ; return to shader part epilog2955;2956; GFX11-FLATSCR-LABEL: cs_main:2957; GFX11-FLATSCR:       ; %bb.0:2958; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v21, 0xbf5f2ee32959; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v1, 0xbf20e7f4 :: v_dual_lshlrev_b32 v0, 2, v02960; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v28, 0x3f3d349e2961; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v7, 0x3eae29d82962; GFX11-FLATSCR-NEXT:    s_delay_alu instid0(VALU_DEP_4)2963; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v23, v212964; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v27, 0x3f523be12965; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[1:4], off offset:3202966; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v2, v282967; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v26, 0x3f5f2ee22968; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v19, 0xbefcd89f :: v_dual_mov_b32 v30, v272969; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v3, v272970; GFX11-FLATSCR-NEXT:    s_delay_alu instid0(VALU_DEP_3)2971; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v25, 0x3f638e37 :: v_dual_mov_b32 v4, v262972; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v24, 0xbf523be32973; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v17, 0xbeae29dc2974; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v11, 0xbf3d349e2975; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v6, 0x3eae29dc2976; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v8, 0x3e3193562977; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v9, 0x3e31934f2978; GFX11-FLATSCR-NEXT:    s_clause 0x12979; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[25:28], off offset:3042980; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[1:4], off offset:2882981; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v12, 0xbf20e7f52982; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v13, 0x3efcd89f :: v_dual_mov_b32 v16, v242983; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v3, 0xbe3193562984; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v14, 0x3efcd89c2985; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v18, v17 :: v_dual_and_b32 v33, 0x1fc, v02986; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v20, 0xbefcd8a3 :: v_dual_mov_b32 v15, v112987; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v1, 0xb7043519 :: v_dual_mov_b32 v10, v132988; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v2, 0xbe31934f :: v_dual_mov_b32 v31, v112989; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v0, 0xb702e7582990; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v22, 0xbf638e392991; GFX11-FLATSCR-NEXT:    s_clause 0x12992; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[6:9], off offset:2402993; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[11:14], off offset:2242994; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v14, 0x3f20e7f5 :: v_dual_mov_b32 v9, v62995; GFX11-FLATSCR-NEXT:    s_clause 0x32996; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[17:20], off offset:2722997; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[0:3], off offset:2562998; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[21:24], off offset:2082999; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[13:16], off offset:1923000; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v4, 0x3f20e7f43001; GFX11-FLATSCR-NEXT:    scratch_load_b32 v0, v33, off3002; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v29, 0xbf523be13003; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v32, 0x3f3d349c3004; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v24, v213005; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[4:7], off offset:8323006; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v7, 0x3703c499 :: v_dual_mov_b32 v16, v283007; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[29:32], off offset:7843008; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v31, 0xbf5f2ee2 :: v_dual_mov_b32 v32, v263009; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v23, v253010; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v25, v26 :: v_dual_mov_b32 v18, v123011; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v20, v17 :: v_dual_mov_b32 v21, v33012; GFX11-FLATSCR-NEXT:    s_clause 0x13013; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[29:32], off offset:7523014; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[13:16], off offset:7363015; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v5, v8 :: v_dual_mov_b32 v14, v173016; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v4, v73017; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v13, v193018; GFX11-FLATSCR-NEXT:    s_clause 0x43019; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[7:10], off offset:8163020; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[18:21], off offset:8003021; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[22:25], off offset:7683022; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[3:6], off offset:7203023; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[11:14], off offset:7043024; GFX11-FLATSCR-NEXT:    scratch_load_b32 v1, v33, off offset:5123025; GFX11-FLATSCR-NEXT:    s_waitcnt vmcnt(0)3026; GFX11-FLATSCR-NEXT:    v_add_f32_e32 v0, v0, v13027; GFX11-FLATSCR-NEXT:    ; return to shader part epilog3028  %v1 = extractelement <81 x float> <float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float 0x3FE41CFEA0000000, float 0xBFE7A693C0000000, float 0xBFEA477C60000000, float 0xBFEBE5DC60000000, float 0xBFEC71C720000000, float 0xBFEBE5DC60000000, float 0xBFEA477C60000000, float 0xBFE7A693C0000000, float 0xBFE41CFEA0000000, float 0x3FDF9B13E0000000, float 0x3FDF9B1380000000, float 0x3FD5C53B80000000, float 0x3FD5C53B00000000, float 0x3FC6326AC0000000, float 0x3FC63269E0000000, float 0xBEE05CEB00000000, float 0xBEE086A320000000, float 0xBFC63269E0000000, float 0xBFC6326AC0000000, float 0xBFD5C53B80000000, float 0xBFD5C53B80000000, float 0xBFDF9B13E0000000, float 0xBFDF9B1460000000, float 0xBFE41CFE80000000, float 0x3FE7A693C0000000, float 0x3FEA477C20000000, float 0x3FEBE5DC40000000, float 0x3FEC71C6E0000000, float 0x3FEBE5DC40000000, float 0x3FEA477C20000000, float 0x3FE7A693C0000000, float 0xBFE41CFE80000000>, i32 %idx3029  %v2 = extractelement <81 x float> <float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float 0xBFE41CFEA0000000, float 0xBFDF9B13E0000000, float 0xBFD5C53B80000000, float 0xBFC6326AC0000000, float 0x3EE0789320000000, float 0x3FC6326AC0000000, float 0x3FD5C53B80000000, float 0x3FDF9B13E0000000, float 0x3FE41CFEA0000000, float 0xBFE7A693C0000000, float 0x3FE7A693C0000000, float 0xBFEA477C20000000, float 0x3FEA477C20000000, float 0xBFEBE5DC40000000, float 0x3FEBE5DC40000000, float 0xBFEC71C720000000, float 0x3FEC71C6E0000000, float 0xBFEBE5DC60000000, float 0x3FEBE5DC40000000, float 0xBFEA477C20000000, float 0x3FEA477C20000000, float 0xBFE7A693C0000000, float 0x3FE7A69380000000, float 0xBFE41CFEA0000000, float 0xBFDF9B13E0000000, float 0xBFD5C53B80000000, float 0xBFC6326AC0000000, float 0x3EE0789320000000, float 0x3FC6326AC0000000, float 0x3FD5C53B80000000, float 0x3FDF9B13E0000000, float 0x3FE41CFE80000000>, i32 %idx3030  %r = fadd float %v1, %v23031  ret float %r3032}3033 3034define amdgpu_hs float @hs_main(i32 %idx) {3035; SI-LABEL: hs_main:3036; SI:       ; %bb.0:3037; SI-NEXT:    s_mov_b32 s4, SCRATCH_RSRC_DWORD03038; SI-NEXT:    s_mov_b32 s5, SCRATCH_RSRC_DWORD13039; SI-NEXT:    s_mov_b32 s6, -13040; SI-NEXT:    s_mov_b32 s7, 0xe8f0003041; SI-NEXT:    s_add_u32 s4, s4, s03042; SI-NEXT:    s_addc_u32 s5, s5, 03043; SI-NEXT:    v_mov_b32_e32 v9, 0xbe31934f3044; SI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:2643045; SI-NEXT:    s_waitcnt expcnt(0)3046; SI-NEXT:    v_mov_b32_e32 v9, 0xb70435193047; SI-NEXT:    v_mov_b32_e32 v2, 0xbf20e7f43048; SI-NEXT:    v_mov_b32_e32 v6, 0x3f638e373049; SI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:2603050; SI-NEXT:    s_waitcnt expcnt(0)3051; SI-NEXT:    v_mov_b32_e32 v9, 0xb702e7583052; SI-NEXT:    v_lshlrev_b32_e32 v0, 2, v03053; SI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:3203054; SI-NEXT:    v_mov_b32_e32 v3, 0x3f3d349e3055; SI-NEXT:    v_mov_b32_e32 v4, 0x3f523be13056; SI-NEXT:    v_mov_b32_e32 v5, 0x3f5f2ee23057; SI-NEXT:    buffer_store_dword v6, off, s[4:7], 0 offset:3043058; SI-NEXT:    buffer_store_dword v5, off, s[4:7], 0 offset:3003059; SI-NEXT:    buffer_store_dword v4, off, s[4:7], 0 offset:2963060; SI-NEXT:    buffer_store_dword v3, off, s[4:7], 0 offset:2923061; SI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:2883062; SI-NEXT:    s_waitcnt expcnt(0)3063; SI-NEXT:    v_mov_b32_e32 v2, 0xbefcd8a33064; SI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:2563065; SI-NEXT:    s_waitcnt expcnt(0)3066; SI-NEXT:    v_mov_b32_e32 v9, 0x3e31934f3067; SI-NEXT:    v_mov_b32_e32 v10, 0x3eae29d83068; SI-NEXT:    v_mov_b32_e32 v11, 0x3efcd89c3069; SI-NEXT:    v_mov_b32_e32 v14, 0xbf523be33070; SI-NEXT:    v_mov_b32_e32 v16, 0xbf638e393071; SI-NEXT:    v_and_b32_e32 v0, 0x1fc, v03072; SI-NEXT:    s_mov_b32 s0, 03073; SI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:2843074; SI-NEXT:    s_waitcnt expcnt(0)3075; SI-NEXT:    v_mov_b32_e32 v2, 0xbefcd89f3076; SI-NEXT:    v_mov_b32_e32 v7, 0xbeae29dc3077; SI-NEXT:    v_mov_b32_e32 v8, 0xbe3193563078; SI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:2523079; SI-NEXT:    s_waitcnt expcnt(0)3080; SI-NEXT:    v_mov_b32_e32 v9, 0x3e3193563081; SI-NEXT:    buffer_store_dword v10, off, s[4:7], 0 offset:2443082; SI-NEXT:    s_waitcnt expcnt(0)3083; SI-NEXT:    v_mov_b32_e32 v10, 0x3eae29dc3084; SI-NEXT:    buffer_store_dword v11, off, s[4:7], 0 offset:2363085; SI-NEXT:    s_waitcnt expcnt(0)3086; SI-NEXT:    v_mov_b32_e32 v11, 0x3efcd89f3087; SI-NEXT:    v_mov_b32_e32 v12, 0xbf20e7f53088; SI-NEXT:    v_mov_b32_e32 v13, 0xbf3d349e3089; SI-NEXT:    buffer_store_dword v14, off, s[4:7], 0 offset:2203090; SI-NEXT:    v_mov_b32_e32 v15, 0xbf5f2ee33091; SI-NEXT:    buffer_store_dword v16, off, s[4:7], 0 offset:2123092; SI-NEXT:    buffer_store_dword v15, off, s[4:7], 0 offset:2083093; SI-NEXT:    buffer_store_dword v14, off, s[4:7], 0 offset:2043094; SI-NEXT:    buffer_store_dword v13, off, s[4:7], 0 offset:2003095; SI-NEXT:    s_waitcnt expcnt(1)3096; SI-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f53097; SI-NEXT:    v_add_i32_e32 v1, vcc, 0x200, v03098; SI-NEXT:    v_add_i32_e32 v0, vcc, s0, v03099; SI-NEXT:    buffer_store_dword v3, off, s[4:7], 0 offset:3163100; SI-NEXT:    buffer_store_dword v4, off, s[4:7], 0 offset:3123101; SI-NEXT:    buffer_store_dword v5, off, s[4:7], 0 offset:3083102; SI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:2803103; SI-NEXT:    buffer_store_dword v7, off, s[4:7], 0 offset:2763104; SI-NEXT:    buffer_store_dword v7, off, s[4:7], 0 offset:2723105; SI-NEXT:    buffer_store_dword v8, off, s[4:7], 0 offset:2683106; SI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:2483107; SI-NEXT:    buffer_store_dword v10, off, s[4:7], 0 offset:2403108; SI-NEXT:    buffer_store_dword v11, off, s[4:7], 0 offset:2323109; SI-NEXT:    buffer_store_dword v12, off, s[4:7], 0 offset:2283110; SI-NEXT:    buffer_store_dword v13, off, s[4:7], 0 offset:2243111; SI-NEXT:    buffer_store_dword v15, off, s[4:7], 0 offset:2163112; SI-NEXT:    buffer_store_dword v14, off, s[4:7], 0 offset:1963113; SI-NEXT:    v_mov_b32_e32 v17, 0x3f20e7f43114; SI-NEXT:    v_mov_b32_e32 v18, 0x3f3d349c3115; SI-NEXT:    buffer_load_dword v0, v0, s[4:7], 0 offen3116; SI-NEXT:    buffer_store_dword v17, off, s[4:7], 0 offset:8323117; SI-NEXT:    buffer_store_dword v11, off, s[4:7], 0 offset:8283118; SI-NEXT:    buffer_store_dword v10, off, s[4:7], 0 offset:8243119; SI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:8203120; SI-NEXT:    s_waitcnt expcnt(3)3121; SI-NEXT:    v_mov_b32_e32 v17, 0x3703c4993122; SI-NEXT:    buffer_store_dword v18, off, s[4:7], 0 offset:7963123; SI-NEXT:    buffer_store_dword v13, off, s[4:7], 0 offset:7923124; SI-NEXT:    buffer_store_dword v4, off, s[4:7], 0 offset:7883125; SI-NEXT:    s_waitcnt expcnt(2)3126; SI-NEXT:    v_mov_b32_e32 v18, 0xbf523be13127; SI-NEXT:    buffer_store_dword v17, off, s[4:7], 0 offset:8163128; SI-NEXT:    buffer_store_dword v8, off, s[4:7], 0 offset:8123129; SI-NEXT:    buffer_store_dword v7, off, s[4:7], 0 offset:8083130; SI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:8043131; SI-NEXT:    buffer_store_dword v12, off, s[4:7], 0 offset:8003132; SI-NEXT:    buffer_store_dword v18, off, s[4:7], 0 offset:7843133; SI-NEXT:    buffer_store_dword v5, off, s[4:7], 0 offset:7803134; SI-NEXT:    buffer_store_dword v15, off, s[4:7], 0 offset:7763135; SI-NEXT:    buffer_store_dword v6, off, s[4:7], 0 offset:7723136; SI-NEXT:    buffer_store_dword v16, off, s[4:7], 0 offset:7683137; SI-NEXT:    buffer_store_dword v5, off, s[4:7], 0 offset:7643138; SI-NEXT:    s_waitcnt expcnt(0)3139; SI-NEXT:    v_mov_b32_e32 v5, 0xbf5f2ee23140; SI-NEXT:    buffer_store_dword v5, off, s[4:7], 0 offset:7603141; SI-NEXT:    buffer_store_dword v4, off, s[4:7], 0 offset:7563142; SI-NEXT:    buffer_store_dword v18, off, s[4:7], 0 offset:7523143; SI-NEXT:    buffer_store_dword v3, off, s[4:7], 0 offset:7483144; SI-NEXT:    buffer_store_dword v13, off, s[4:7], 0 offset:7443145; SI-NEXT:    buffer_store_dword v14, off, s[4:7], 0 offset:7403146; SI-NEXT:    buffer_store_dword v11, off, s[4:7], 0 offset:7363147; SI-NEXT:    buffer_store_dword v10, off, s[4:7], 0 offset:7323148; SI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:7283149; SI-NEXT:    buffer_store_dword v17, off, s[4:7], 0 offset:7243150; SI-NEXT:    buffer_store_dword v8, off, s[4:7], 0 offset:7203151; SI-NEXT:    buffer_store_dword v7, off, s[4:7], 0 offset:7163152; SI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:7123153; SI-NEXT:    buffer_store_dword v12, off, s[4:7], 0 offset:7083154; SI-NEXT:    buffer_load_dword v1, v1, s[4:7], 0 offen3155; SI-NEXT:    s_waitcnt vmcnt(0)3156; SI-NEXT:    v_add_f32_e32 v0, v0, v13157; SI-NEXT:    s_waitcnt expcnt(0)3158; SI-NEXT:    ; return to shader part epilog3159;3160; VI-LABEL: hs_main:3161; VI:       ; %bb.0:3162; VI-NEXT:    s_mov_b32 s4, SCRATCH_RSRC_DWORD03163; VI-NEXT:    s_mov_b32 s5, SCRATCH_RSRC_DWORD13164; VI-NEXT:    s_mov_b32 s6, -13165; VI-NEXT:    s_mov_b32 s7, 0xe800003166; VI-NEXT:    s_add_u32 s4, s4, s03167; VI-NEXT:    s_addc_u32 s5, s5, 03168; VI-NEXT:    v_mov_b32_e32 v9, 0xbe31934f3169; VI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:2643170; VI-NEXT:    v_mov_b32_e32 v9, 0xb70435193171; VI-NEXT:    v_mov_b32_e32 v2, 0xbf20e7f43172; VI-NEXT:    v_mov_b32_e32 v6, 0x3f638e373173; VI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:2603174; VI-NEXT:    v_mov_b32_e32 v9, 0xb702e7583175; VI-NEXT:    v_lshlrev_b32_e32 v0, 2, v03176; VI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:3203177; VI-NEXT:    v_mov_b32_e32 v3, 0x3f3d349e3178; VI-NEXT:    v_mov_b32_e32 v4, 0x3f523be13179; VI-NEXT:    v_mov_b32_e32 v5, 0x3f5f2ee23180; VI-NEXT:    buffer_store_dword v6, off, s[4:7], 0 offset:3043181; VI-NEXT:    buffer_store_dword v5, off, s[4:7], 0 offset:3003182; VI-NEXT:    buffer_store_dword v4, off, s[4:7], 0 offset:2963183; VI-NEXT:    buffer_store_dword v3, off, s[4:7], 0 offset:2923184; VI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:2883185; VI-NEXT:    v_mov_b32_e32 v2, 0xbefcd8a33186; VI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:2563187; VI-NEXT:    v_mov_b32_e32 v9, 0x3e31934f3188; VI-NEXT:    v_mov_b32_e32 v10, 0x3eae29d83189; VI-NEXT:    v_mov_b32_e32 v11, 0x3efcd89c3190; VI-NEXT:    v_mov_b32_e32 v14, 0xbf523be33191; VI-NEXT:    v_mov_b32_e32 v16, 0xbf638e393192; VI-NEXT:    v_and_b32_e32 v0, 0x1fc, v03193; VI-NEXT:    s_mov_b32 s0, 03194; VI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:2843195; VI-NEXT:    v_mov_b32_e32 v2, 0xbefcd89f3196; VI-NEXT:    v_mov_b32_e32 v7, 0xbeae29dc3197; VI-NEXT:    v_mov_b32_e32 v8, 0xbe3193563198; VI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:2523199; VI-NEXT:    v_mov_b32_e32 v9, 0x3e3193563200; VI-NEXT:    buffer_store_dword v10, off, s[4:7], 0 offset:2443201; VI-NEXT:    v_mov_b32_e32 v10, 0x3eae29dc3202; VI-NEXT:    buffer_store_dword v11, off, s[4:7], 0 offset:2363203; VI-NEXT:    v_mov_b32_e32 v11, 0x3efcd89f3204; VI-NEXT:    v_mov_b32_e32 v12, 0xbf20e7f53205; VI-NEXT:    v_mov_b32_e32 v13, 0xbf3d349e3206; VI-NEXT:    buffer_store_dword v14, off, s[4:7], 0 offset:2203207; VI-NEXT:    v_mov_b32_e32 v15, 0xbf5f2ee33208; VI-NEXT:    buffer_store_dword v16, off, s[4:7], 0 offset:2123209; VI-NEXT:    buffer_store_dword v15, off, s[4:7], 0 offset:2083210; VI-NEXT:    buffer_store_dword v14, off, s[4:7], 0 offset:2043211; VI-NEXT:    buffer_store_dword v13, off, s[4:7], 0 offset:2003212; VI-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f53213; VI-NEXT:    v_add_u32_e32 v1, vcc, 0x200, v03214; VI-NEXT:    v_add_u32_e32 v0, vcc, s0, v03215; VI-NEXT:    buffer_store_dword v3, off, s[4:7], 0 offset:3163216; VI-NEXT:    buffer_store_dword v4, off, s[4:7], 0 offset:3123217; VI-NEXT:    buffer_store_dword v5, off, s[4:7], 0 offset:3083218; VI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:2803219; VI-NEXT:    buffer_store_dword v7, off, s[4:7], 0 offset:2763220; VI-NEXT:    buffer_store_dword v7, off, s[4:7], 0 offset:2723221; VI-NEXT:    buffer_store_dword v8, off, s[4:7], 0 offset:2683222; VI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:2483223; VI-NEXT:    buffer_store_dword v10, off, s[4:7], 0 offset:2403224; VI-NEXT:    buffer_store_dword v11, off, s[4:7], 0 offset:2323225; VI-NEXT:    buffer_store_dword v12, off, s[4:7], 0 offset:2283226; VI-NEXT:    buffer_store_dword v13, off, s[4:7], 0 offset:2243227; VI-NEXT:    buffer_store_dword v15, off, s[4:7], 0 offset:2163228; VI-NEXT:    buffer_store_dword v14, off, s[4:7], 0 offset:1963229; VI-NEXT:    v_mov_b32_e32 v17, 0x3f20e7f43230; VI-NEXT:    v_mov_b32_e32 v18, 0x3f3d349c3231; VI-NEXT:    buffer_load_dword v0, v0, s[4:7], 0 offen3232; VI-NEXT:    buffer_store_dword v17, off, s[4:7], 0 offset:8323233; VI-NEXT:    buffer_store_dword v11, off, s[4:7], 0 offset:8283234; VI-NEXT:    buffer_store_dword v10, off, s[4:7], 0 offset:8243235; VI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:8203236; VI-NEXT:    v_mov_b32_e32 v17, 0x3703c4993237; VI-NEXT:    buffer_store_dword v18, off, s[4:7], 0 offset:7963238; VI-NEXT:    buffer_store_dword v13, off, s[4:7], 0 offset:7923239; VI-NEXT:    buffer_store_dword v4, off, s[4:7], 0 offset:7883240; VI-NEXT:    v_mov_b32_e32 v18, 0xbf523be13241; VI-NEXT:    buffer_store_dword v17, off, s[4:7], 0 offset:8163242; VI-NEXT:    buffer_store_dword v8, off, s[4:7], 0 offset:8123243; VI-NEXT:    buffer_store_dword v7, off, s[4:7], 0 offset:8083244; VI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:8043245; VI-NEXT:    buffer_store_dword v12, off, s[4:7], 0 offset:8003246; VI-NEXT:    buffer_store_dword v18, off, s[4:7], 0 offset:7843247; VI-NEXT:    buffer_store_dword v5, off, s[4:7], 0 offset:7803248; VI-NEXT:    buffer_store_dword v15, off, s[4:7], 0 offset:7763249; VI-NEXT:    buffer_store_dword v6, off, s[4:7], 0 offset:7723250; VI-NEXT:    buffer_store_dword v16, off, s[4:7], 0 offset:7683251; VI-NEXT:    buffer_store_dword v5, off, s[4:7], 0 offset:7643252; VI-NEXT:    v_mov_b32_e32 v5, 0xbf5f2ee23253; VI-NEXT:    buffer_store_dword v5, off, s[4:7], 0 offset:7603254; VI-NEXT:    buffer_store_dword v4, off, s[4:7], 0 offset:7563255; VI-NEXT:    buffer_store_dword v18, off, s[4:7], 0 offset:7523256; VI-NEXT:    buffer_store_dword v3, off, s[4:7], 0 offset:7483257; VI-NEXT:    buffer_store_dword v13, off, s[4:7], 0 offset:7443258; VI-NEXT:    buffer_store_dword v14, off, s[4:7], 0 offset:7403259; VI-NEXT:    buffer_store_dword v11, off, s[4:7], 0 offset:7363260; VI-NEXT:    buffer_store_dword v10, off, s[4:7], 0 offset:7323261; VI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:7283262; VI-NEXT:    buffer_store_dword v17, off, s[4:7], 0 offset:7243263; VI-NEXT:    buffer_store_dword v8, off, s[4:7], 0 offset:7203264; VI-NEXT:    buffer_store_dword v7, off, s[4:7], 0 offset:7163265; VI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:7123266; VI-NEXT:    buffer_store_dword v12, off, s[4:7], 0 offset:7083267; VI-NEXT:    buffer_load_dword v1, v1, s[4:7], 0 offen3268; VI-NEXT:    s_waitcnt vmcnt(0)3269; VI-NEXT:    v_add_f32_e32 v0, v0, v13270; VI-NEXT:    ; return to shader part epilog3271;3272; GFX9-MUBUF-LABEL: hs_main:3273; GFX9-MUBUF:       ; %bb.0:3274; GFX9-MUBUF-NEXT:    s_mov_b32 s0, SCRATCH_RSRC_DWORD03275; GFX9-MUBUF-NEXT:    s_mov_b32 s1, SCRATCH_RSRC_DWORD13276; GFX9-MUBUF-NEXT:    s_mov_b32 s2, -13277; GFX9-MUBUF-NEXT:    s_mov_b32 s3, 0xe000003278; GFX9-MUBUF-NEXT:    s_add_u32 s0, s0, s53279; GFX9-MUBUF-NEXT:    s_addc_u32 s1, s1, 03280; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v9, 0xbe31934f3281; GFX9-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:2643282; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v9, 0xb70435193283; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v2, 0xbf20e7f43284; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v6, 0x3f638e373285; GFX9-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:2603286; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v9, 0xb702e7583287; GFX9-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:3203288; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v3, 0x3f3d349e3289; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v4, 0x3f523be13290; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v5, 0x3f5f2ee23291; GFX9-MUBUF-NEXT:    buffer_store_dword v6, off, s[0:3], 0 offset:3043292; GFX9-MUBUF-NEXT:    buffer_store_dword v5, off, s[0:3], 0 offset:3003293; GFX9-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:2963294; GFX9-MUBUF-NEXT:    buffer_store_dword v3, off, s[0:3], 0 offset:2923295; GFX9-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:2883296; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v2, 0xbefcd8a33297; GFX9-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:2563298; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v9, 0x3e31934f3299; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v10, 0x3eae29d83300; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v11, 0x3efcd89c3301; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v14, 0xbf523be33302; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v16, 0xbf638e393303; GFX9-MUBUF-NEXT:    v_lshlrev_b32_e32 v0, 2, v03304; GFX9-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:2843305; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v2, 0xbefcd89f3306; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v7, 0xbeae29dc3307; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v8, 0xbe3193563308; GFX9-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:2523309; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v9, 0x3e3193563310; GFX9-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:2443311; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v10, 0x3eae29dc3312; GFX9-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:2363313; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v11, 0x3efcd89f3314; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v12, 0xbf20e7f53315; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v13, 0xbf3d349e3316; GFX9-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:2203317; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v15, 0xbf5f2ee33318; GFX9-MUBUF-NEXT:    buffer_store_dword v16, off, s[0:3], 0 offset:2123319; GFX9-MUBUF-NEXT:    buffer_store_dword v15, off, s[0:3], 0 offset:2083320; GFX9-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:2043321; GFX9-MUBUF-NEXT:    buffer_store_dword v13, off, s[0:3], 0 offset:2003322; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f53323; GFX9-MUBUF-NEXT:    v_and_b32_e32 v0, 0x1fc, v03324; GFX9-MUBUF-NEXT:    buffer_store_dword v3, off, s[0:3], 0 offset:3163325; GFX9-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:3123326; GFX9-MUBUF-NEXT:    buffer_store_dword v5, off, s[0:3], 0 offset:3083327; GFX9-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:2803328; GFX9-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:2763329; GFX9-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:2723330; GFX9-MUBUF-NEXT:    buffer_store_dword v8, off, s[0:3], 0 offset:2683331; GFX9-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:2483332; GFX9-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:2403333; GFX9-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:2323334; GFX9-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:2283335; GFX9-MUBUF-NEXT:    buffer_store_dword v13, off, s[0:3], 0 offset:2243336; GFX9-MUBUF-NEXT:    buffer_store_dword v15, off, s[0:3], 0 offset:2163337; GFX9-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:1963338; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v17, 0x3f20e7f43339; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v18, 0x3f3d349c3340; GFX9-MUBUF-NEXT:    v_add_u32_e32 v1, 0x200, v03341; GFX9-MUBUF-NEXT:    buffer_load_dword v0, v0, s[0:3], 0 offen3342; GFX9-MUBUF-NEXT:    s_nop 03343; GFX9-MUBUF-NEXT:    buffer_store_dword v17, off, s[0:3], 0 offset:8323344; GFX9-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:8283345; GFX9-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:8243346; GFX9-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:8203347; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v17, 0x3703c4993348; GFX9-MUBUF-NEXT:    buffer_store_dword v18, off, s[0:3], 0 offset:7963349; GFX9-MUBUF-NEXT:    buffer_store_dword v13, off, s[0:3], 0 offset:7923350; GFX9-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:7883351; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v18, 0xbf523be13352; GFX9-MUBUF-NEXT:    buffer_store_dword v17, off, s[0:3], 0 offset:8163353; GFX9-MUBUF-NEXT:    buffer_store_dword v8, off, s[0:3], 0 offset:8123354; GFX9-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:8083355; GFX9-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:8043356; GFX9-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:8003357; GFX9-MUBUF-NEXT:    buffer_store_dword v18, off, s[0:3], 0 offset:7843358; GFX9-MUBUF-NEXT:    buffer_store_dword v5, off, s[0:3], 0 offset:7803359; GFX9-MUBUF-NEXT:    buffer_store_dword v15, off, s[0:3], 0 offset:7763360; GFX9-MUBUF-NEXT:    buffer_store_dword v6, off, s[0:3], 0 offset:7723361; GFX9-MUBUF-NEXT:    buffer_store_dword v16, off, s[0:3], 0 offset:7683362; GFX9-MUBUF-NEXT:    buffer_store_dword v5, off, s[0:3], 0 offset:7643363; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v5, 0xbf5f2ee23364; GFX9-MUBUF-NEXT:    buffer_store_dword v5, off, s[0:3], 0 offset:7603365; GFX9-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:7563366; GFX9-MUBUF-NEXT:    buffer_store_dword v18, off, s[0:3], 0 offset:7523367; GFX9-MUBUF-NEXT:    buffer_store_dword v3, off, s[0:3], 0 offset:7483368; GFX9-MUBUF-NEXT:    buffer_store_dword v13, off, s[0:3], 0 offset:7443369; GFX9-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:7403370; GFX9-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:7363371; GFX9-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:7323372; GFX9-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:7283373; GFX9-MUBUF-NEXT:    buffer_store_dword v17, off, s[0:3], 0 offset:7243374; GFX9-MUBUF-NEXT:    buffer_store_dword v8, off, s[0:3], 0 offset:7203375; GFX9-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:7163376; GFX9-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:7123377; GFX9-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:7083378; GFX9-MUBUF-NEXT:    buffer_load_dword v1, v1, s[0:3], 0 offen3379; GFX9-MUBUF-NEXT:    s_waitcnt vmcnt(0)3380; GFX9-MUBUF-NEXT:    v_add_f32_e32 v0, v0, v13381; GFX9-MUBUF-NEXT:    ; return to shader part epilog3382;3383; GFX10_W32-MUBUF-LABEL: hs_main:3384; GFX10_W32-MUBUF:       ; %bb.0:3385; GFX10_W32-MUBUF-NEXT:    s_mov_b32 s0, SCRATCH_RSRC_DWORD03386; GFX10_W32-MUBUF-NEXT:    s_mov_b32 s1, SCRATCH_RSRC_DWORD13387; GFX10_W32-MUBUF-NEXT:    s_mov_b32 s2, -13388; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v1, 0xbf20e7f43389; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v2, 0x3f3d349e3390; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v3, 0x3f523be13391; GFX10_W32-MUBUF-NEXT:    s_mov_b32 s3, 0x31c160003392; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v4, 0x3f5f2ee23393; GFX10_W32-MUBUF-NEXT:    s_add_u32 s0, s0, s53394; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v5, 0x3f638e373395; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v7, 0xbefcd8a33396; GFX10_W32-MUBUF-NEXT:    s_addc_u32 s1, s1, 03397; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v8, 0xbefcd89f3398; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v9, 0xbeae29dc3399; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v1, off, s[0:3], 0 offset:3203400; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:3163401; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v3, off, s[0:3], 0 offset:3123402; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:3083403; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v5, off, s[0:3], 0 offset:3043404; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:3003405; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:2923406; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v1, off, s[0:3], 0 offset:2883407; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:2843408; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v8, off, s[0:3], 0 offset:2803409; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:2763410; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:2723411; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v1, 0xbe3193563412; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v7, 0xbe31934f3413; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v10, 0xb70435193414; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v11, 0xb702e7583415; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v12, 0x3e31934f3416; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v1, off, s[0:3], 0 offset:2683417; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:2643418; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:2603419; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:2563420; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:2523421; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v7, 0x3e3193563422; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v10, 0x3eae29d83423; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v11, 0x3eae29dc3424; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v12, 0x3efcd89c3425; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v13, 0x3efcd89f3426; GFX10_W32-MUBUF-NEXT:    v_lshlrev_b32_e32 v0, 2, v03427; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:2483428; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:2443429; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:2403430; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:2363431; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v13, off, s[0:3], 0 offset:2323432; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v10, 0xbf20e7f53433; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v15, 0xbf5f2ee33434; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v12, 0xbf3d349e3435; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v14, 0xbf523be33436; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v16, 0xbf638e393437; GFX10_W32-MUBUF-NEXT:    v_and_b32_e32 v0, 0x1fc, v03438; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:2283439; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:2243440; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:2203441; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v15, off, s[0:3], 0 offset:2163442; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v16, off, s[0:3], 0 offset:2123443; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v17, 0x3f20e7f53444; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v15, off, s[0:3], 0 offset:2083445; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:2043446; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f43447; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v3, off, s[0:3], 0 offset:2963448; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:2003449; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v17, off, s[0:3], 0 offset:1963450; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v18, 0x3703c4993451; GFX10_W32-MUBUF-NEXT:    v_add_nc_u32_e32 v6, 0x200, v03452; GFX10_W32-MUBUF-NEXT:    buffer_load_dword v0, v0, s[0:3], 0 offen3453; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:8323454; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v13, off, s[0:3], 0 offset:8283455; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:8243456; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:8203457; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v18, off, s[0:3], 0 offset:8163458; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v1, off, s[0:3], 0 offset:8123459; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v14, 0x3f3d349c3460; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v19, 0xbf523be13461; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:8003462; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:7963463; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:7923464; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v3, off, s[0:3], 0 offset:7883465; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v19, off, s[0:3], 0 offset:7843466; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:7803467; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v14, 0xbf5f2ee23468; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:8083469; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v8, off, s[0:3], 0 offset:8043470; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v15, off, s[0:3], 0 offset:7763471; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v5, off, s[0:3], 0 offset:7723472; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v16, off, s[0:3], 0 offset:7683473; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:7643474; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:7603475; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v3, off, s[0:3], 0 offset:7563476; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v19, off, s[0:3], 0 offset:7523477; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:7483478; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:7443479; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v17, off, s[0:3], 0 offset:7403480; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v13, off, s[0:3], 0 offset:7363481; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:7323482; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:7283483; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v18, off, s[0:3], 0 offset:7243484; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v1, off, s[0:3], 0 offset:7203485; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:7163486; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v8, off, s[0:3], 0 offset:7123487; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:7083488; GFX10_W32-MUBUF-NEXT:    buffer_load_dword v1, v6, s[0:3], 0 offen3489; GFX10_W32-MUBUF-NEXT:    s_waitcnt vmcnt(0)3490; GFX10_W32-MUBUF-NEXT:    v_add_f32_e32 v0, v0, v13491; GFX10_W32-MUBUF-NEXT:    ; return to shader part epilog3492;3493; GFX10_W64-MUBUF-LABEL: hs_main:3494; GFX10_W64-MUBUF:       ; %bb.0:3495; GFX10_W64-MUBUF-NEXT:    s_mov_b32 s0, SCRATCH_RSRC_DWORD03496; GFX10_W64-MUBUF-NEXT:    s_mov_b32 s1, SCRATCH_RSRC_DWORD13497; GFX10_W64-MUBUF-NEXT:    s_mov_b32 s2, -13498; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v1, 0xbf20e7f43499; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v2, 0x3f3d349e3500; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v3, 0x3f523be13501; GFX10_W64-MUBUF-NEXT:    s_mov_b32 s3, 0x31e160003502; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v4, 0x3f5f2ee23503; GFX10_W64-MUBUF-NEXT:    s_add_u32 s0, s0, s53504; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v5, 0x3f638e373505; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v7, 0xbefcd8a33506; GFX10_W64-MUBUF-NEXT:    s_addc_u32 s1, s1, 03507; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v8, 0xbefcd89f3508; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v9, 0xbeae29dc3509; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v1, off, s[0:3], 0 offset:3203510; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:3163511; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v3, off, s[0:3], 0 offset:3123512; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:3083513; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v5, off, s[0:3], 0 offset:3043514; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:3003515; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:2923516; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v1, off, s[0:3], 0 offset:2883517; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:2843518; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v8, off, s[0:3], 0 offset:2803519; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:2763520; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:2723521; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v1, 0xbe3193563522; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v7, 0xbe31934f3523; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v10, 0xb70435193524; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v11, 0xb702e7583525; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v12, 0x3e31934f3526; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v1, off, s[0:3], 0 offset:2683527; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:2643528; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:2603529; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:2563530; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:2523531; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v7, 0x3e3193563532; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v10, 0x3eae29d83533; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v11, 0x3eae29dc3534; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v12, 0x3efcd89c3535; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v13, 0x3efcd89f3536; GFX10_W64-MUBUF-NEXT:    v_lshlrev_b32_e32 v0, 2, v03537; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:2483538; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:2443539; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:2403540; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:2363541; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v13, off, s[0:3], 0 offset:2323542; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v10, 0xbf20e7f53543; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v15, 0xbf5f2ee33544; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v12, 0xbf3d349e3545; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v14, 0xbf523be33546; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v16, 0xbf638e393547; GFX10_W64-MUBUF-NEXT:    v_and_b32_e32 v0, 0x1fc, v03548; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:2283549; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:2243550; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:2203551; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v15, off, s[0:3], 0 offset:2163552; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v16, off, s[0:3], 0 offset:2123553; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v17, 0x3f20e7f53554; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v15, off, s[0:3], 0 offset:2083555; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:2043556; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f43557; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v3, off, s[0:3], 0 offset:2963558; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:2003559; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v17, off, s[0:3], 0 offset:1963560; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v18, 0x3703c4993561; GFX10_W64-MUBUF-NEXT:    v_add_nc_u32_e32 v6, 0x200, v03562; GFX10_W64-MUBUF-NEXT:    buffer_load_dword v0, v0, s[0:3], 0 offen3563; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:8323564; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v13, off, s[0:3], 0 offset:8283565; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:8243566; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:8203567; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v18, off, s[0:3], 0 offset:8163568; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v1, off, s[0:3], 0 offset:8123569; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v14, 0x3f3d349c3570; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v19, 0xbf523be13571; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:8003572; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:7963573; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:7923574; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v3, off, s[0:3], 0 offset:7883575; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v19, off, s[0:3], 0 offset:7843576; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:7803577; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v14, 0xbf5f2ee23578; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:8083579; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v8, off, s[0:3], 0 offset:8043580; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v15, off, s[0:3], 0 offset:7763581; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v5, off, s[0:3], 0 offset:7723582; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v16, off, s[0:3], 0 offset:7683583; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:7643584; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:7603585; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v3, off, s[0:3], 0 offset:7563586; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v19, off, s[0:3], 0 offset:7523587; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:7483588; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:7443589; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v17, off, s[0:3], 0 offset:7403590; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v13, off, s[0:3], 0 offset:7363591; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:7323592; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:7283593; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v18, off, s[0:3], 0 offset:7243594; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v1, off, s[0:3], 0 offset:7203595; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:7163596; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v8, off, s[0:3], 0 offset:7123597; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:7083598; GFX10_W64-MUBUF-NEXT:    buffer_load_dword v1, v6, s[0:3], 0 offen3599; GFX10_W64-MUBUF-NEXT:    s_waitcnt vmcnt(0)3600; GFX10_W64-MUBUF-NEXT:    v_add_f32_e32 v0, v0, v13601; GFX10_W64-MUBUF-NEXT:    ; return to shader part epilog3602;3603; GFX9-FLATSCR-LABEL: hs_main:3604; GFX9-FLATSCR:       ; %bb.0:3605; GFX9-FLATSCR-NEXT:    s_add_u32 flat_scratch_lo, s0, s53606; GFX9-FLATSCR-NEXT:    v_lshlrev_b32_e32 v0, 2, v03607; GFX9-FLATSCR-NEXT:    s_addc_u32 flat_scratch_hi, s1, 03608; GFX9-FLATSCR-NEXT:    v_and_b32_e32 v30, 0x1fc, v03609; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v0, 0xbf20e7f43610; GFX9-FLATSCR-NEXT:    s_mov_b32 s0, 03611; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v27, 0x3f5f2ee23612; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v28, 0x3f523be13613; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v29, 0x3f3d349e3614; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:3203615; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v17, 0xbeae29dc3616; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v1, v293617; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v2, v283618; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v3, v273619; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v11, 0xbf3d349e3620; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v12, 0xbf20e7f53621; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v13, 0x3efcd89f3622; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v14, 0x3efcd89c3623; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v22, 0xbf5f2ee33624; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v25, 0xbf523be33625; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v26, 0x3f638e373626; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:2883627; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v19, 0xbefcd89f3628; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v20, 0xbefcd8a33629; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v18, v173630; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v0, 0xb702e7583631; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v1, 0xb70435193632; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v2, 0xbe31934f3633; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v3, 0xbe3193563634; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v6, 0x3eae29dc3635; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v7, 0x3eae29d83636; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v8, 0x3e3193563637; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v9, 0x3e31934f3638; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[11:14], s0 offset:2243639; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v23, 0xbf638e393640; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v24, v223641; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f53642; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v15, v113643; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v16, v253644; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[26:29], s0 offset:3043645; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[17:20], s0 offset:2723646; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:2563647; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[6:9], s0 offset:2403648; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[22:25], s0 offset:2083649; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[13:16], s0 offset:1923650; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v0, v303651; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v7, 0x3703c4993652; GFX9-FLATSCR-NEXT:    scratch_load_dword v31, v0, off3653; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v4, v73654; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v5, v83655; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v0, 0x3f20e7f43656; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v21, v33657; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[3:6], s0 offset:7203658; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:8323659; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v16, v293660; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v0, 0xbf523be13661; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v3, 0x3f3d349c3662; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v1, v283663; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v2, v113664; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v9, v63665; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v10, v133666; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v24, v263667; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v25, v223668; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v26, v273669; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:7843670; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v18, v123671; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v2, 0xbf5f2ee23672; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v3, v273673; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v20, v173674; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[13:16], s0 offset:7363675; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[7:10], s0 offset:8163676; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v13, v193677; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v14, v173678; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[23:26], s0 offset:7683679; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:7523680; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[18:21], s0 offset:8003681; GFX9-FLATSCR-NEXT:    v_add_u32_e32 v0, 0x200, v303682; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[11:14], s0 offset:7043683; GFX9-FLATSCR-NEXT:    scratch_load_dword v0, v0, off3684; GFX9-FLATSCR-NEXT:    s_waitcnt vmcnt(0)3685; GFX9-FLATSCR-NEXT:    v_add_f32_e32 v0, v31, v03686; GFX9-FLATSCR-NEXT:    ; return to shader part epilog3687;3688; GFX10-FLATSCR-LABEL: hs_main:3689; GFX10-FLATSCR:       ; %bb.0:3690; GFX10-FLATSCR-NEXT:    s_add_u32 s0, s0, s53691; GFX10-FLATSCR-NEXT:    s_addc_u32 s1, s1, 03692; GFX10-FLATSCR-NEXT:    s_setreg_b32 hwreg(HW_REG_FLAT_SCR_LO), s03693; GFX10-FLATSCR-NEXT:    s_setreg_b32 hwreg(HW_REG_FLAT_SCR_HI), s13694; GFX10-FLATSCR-NEXT:    v_lshlrev_b32_e32 v0, 2, v03695; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v1, 0xbf20e7f43696; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v27, 0x3f5f2ee23697; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v29, 0x3f3d349e3698; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v28, 0x3f523be13699; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v17, 0xbeae29dc3700; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v26, 0x3f638e373701; GFX10-FLATSCR-NEXT:    v_and_b32_e32 v0, 0x1fc, v03702; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[1:4], off offset:3203703; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v2, v293704; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v3, v283705; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v4, v273706; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v22, 0xbf5f2ee33707; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v19, 0xbefcd89f3708; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v20, 0xbefcd8a33709; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v18, v173710; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v11, 0xbf3d349e3711; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v12, 0xbf20e7f53712; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v13, 0x3efcd89f3713; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v14, 0x3efcd89c3714; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v25, 0xbf523be33715; GFX10-FLATSCR-NEXT:    v_add_nc_u32_e32 v34, 0x200, v03716; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v5, v03717; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[26:29], off offset:3043718; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[1:4], off offset:2883719; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[17:20], off offset:2723720; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v0, 0xb702e7583721; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v1, 0xb70435193722; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v2, 0xbe31934f3723; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v3, 0xbe3193563724; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v6, 0x3eae29dc3725; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v7, 0x3eae29d83726; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v8, 0x3e3193563727; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v9, 0x3e31934f3728; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v23, 0xbf638e393729; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v24, v223730; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[11:14], off offset:2243731; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f53732; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v15, v113733; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v16, v253734; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[0:3], off offset:2563735; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[6:9], off offset:2403736; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[22:25], off offset:2083737; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[13:16], off offset:1923738; GFX10-FLATSCR-NEXT:    scratch_load_dword v1, v5, off3739; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v30, 0xbf523be13740; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v33, 0x3f3d349c3741; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v31, v283742; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v32, v113743; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v7, 0x3703c4993744; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v16, v293745; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v0, 0x3f20e7f43746; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v9, v63747; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v10, v133748; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v18, v123749; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v20, v173750; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v21, v33751; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v24, v263752; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v25, v223753; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v26, v273754; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[30:33], off offset:7843755; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v32, 0xbf5f2ee23756; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v33, v273757; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v4, v73758; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v5, v83759; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[13:16], off offset:7363760; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v13, v193761; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v14, v173762; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[7:10], off offset:8163763; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[18:21], off offset:8003764; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[23:26], off offset:7683765; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[30:33], off offset:7523766; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[3:6], off offset:7203767; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[11:14], off offset:7043768; GFX10-FLATSCR-NEXT:    s_waitcnt vmcnt(0)3769; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[0:3], off offset:8323770; GFX10-FLATSCR-NEXT:    scratch_load_dword v0, v34, off3771; GFX10-FLATSCR-NEXT:    s_waitcnt vmcnt(0)3772; GFX10-FLATSCR-NEXT:    v_add_f32_e32 v0, v1, v03773; GFX10-FLATSCR-NEXT:    ; return to shader part epilog3774;3775; GFX9-FLATSCR-PAL-LABEL: hs_main:3776; GFX9-FLATSCR-PAL:       ; %bb.0:3777; GFX9-FLATSCR-PAL-NEXT:    s_getpc_b64 s[0:1]3778; GFX9-FLATSCR-PAL-NEXT:    s_mov_b32 s0, s83779; GFX9-FLATSCR-PAL-NEXT:    s_load_dwordx2 s[0:1], s[0:1], 0x03780; GFX9-FLATSCR-PAL-NEXT:    v_lshlrev_b32_e32 v0, 2, v03781; GFX9-FLATSCR-PAL-NEXT:    v_and_b32_e32 v30, 0x1fc, v03782; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v0, 0xbf20e7f43783; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v27, 0x3f5f2ee23784; GFX9-FLATSCR-PAL-NEXT:    s_waitcnt lgkmcnt(0)3785; GFX9-FLATSCR-PAL-NEXT:    s_and_b32 s1, s1, 0xffff3786; GFX9-FLATSCR-PAL-NEXT:    s_add_u32 flat_scratch_lo, s0, s53787; GFX9-FLATSCR-PAL-NEXT:    s_addc_u32 flat_scratch_hi, s1, 03788; GFX9-FLATSCR-PAL-NEXT:    s_mov_b32 s0, 03789; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v28, 0x3f523be13790; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v29, 0x3f3d349e3791; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:3203792; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v17, 0xbeae29dc3793; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v1, v293794; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v2, v283795; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v3, v273796; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v11, 0xbf3d349e3797; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v12, 0xbf20e7f53798; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v13, 0x3efcd89f3799; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v14, 0x3efcd89c3800; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v22, 0xbf5f2ee33801; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v25, 0xbf523be33802; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v26, 0x3f638e373803; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:2883804; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v19, 0xbefcd89f3805; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v20, 0xbefcd8a33806; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v18, v173807; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v0, 0xb702e7583808; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v1, 0xb70435193809; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v2, 0xbe31934f3810; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v3, 0xbe3193563811; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v6, 0x3eae29dc3812; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v7, 0x3eae29d83813; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v8, 0x3e3193563814; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v9, 0x3e31934f3815; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[11:14], s0 offset:2243816; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v23, 0xbf638e393817; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v24, v223818; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f53819; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v15, v113820; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v16, v253821; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[26:29], s0 offset:3043822; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[17:20], s0 offset:2723823; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:2563824; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[6:9], s0 offset:2403825; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[22:25], s0 offset:2083826; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[13:16], s0 offset:1923827; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v0, v303828; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v7, 0x3703c4993829; GFX9-FLATSCR-PAL-NEXT:    scratch_load_dword v31, v0, off3830; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v4, v73831; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v5, v83832; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v0, 0x3f20e7f43833; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v21, v33834; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[3:6], s0 offset:7203835; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:8323836; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v16, v293837; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v0, 0xbf523be13838; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v3, 0x3f3d349c3839; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v1, v283840; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v2, v113841; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v9, v63842; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v10, v133843; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v24, v263844; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v25, v223845; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v26, v273846; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:7843847; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v18, v123848; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v2, 0xbf5f2ee23849; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v3, v273850; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v20, v173851; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[13:16], s0 offset:7363852; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[7:10], s0 offset:8163853; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v13, v193854; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v14, v173855; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[23:26], s0 offset:7683856; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:7523857; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[18:21], s0 offset:8003858; GFX9-FLATSCR-PAL-NEXT:    v_add_u32_e32 v0, 0x200, v303859; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[11:14], s0 offset:7043860; GFX9-FLATSCR-PAL-NEXT:    scratch_load_dword v0, v0, off3861; GFX9-FLATSCR-PAL-NEXT:    s_waitcnt vmcnt(0)3862; GFX9-FLATSCR-PAL-NEXT:    v_add_f32_e32 v0, v31, v03863; GFX9-FLATSCR-PAL-NEXT:    ; return to shader part epilog3864;3865; GFX10-FLATSCR-PAL-LABEL: hs_main:3866; GFX10-FLATSCR-PAL:       ; %bb.0:3867; GFX10-FLATSCR-PAL-NEXT:    s_getpc_b64 s[0:1]3868; GFX10-FLATSCR-PAL-NEXT:    s_mov_b32 s0, s83869; GFX10-FLATSCR-PAL-NEXT:    s_load_dwordx2 s[0:1], s[0:1], 0x03870; GFX10-FLATSCR-PAL-NEXT:    s_waitcnt lgkmcnt(0)3871; GFX10-FLATSCR-PAL-NEXT:    s_and_b32 s1, s1, 0xffff3872; GFX10-FLATSCR-PAL-NEXT:    s_add_u32 s0, s0, s53873; GFX10-FLATSCR-PAL-NEXT:    s_addc_u32 s1, s1, 03874; GFX10-FLATSCR-PAL-NEXT:    s_setreg_b32 hwreg(HW_REG_FLAT_SCR_LO), s03875; GFX10-FLATSCR-PAL-NEXT:    s_setreg_b32 hwreg(HW_REG_FLAT_SCR_HI), s13876; GFX10-FLATSCR-PAL-NEXT:    v_lshlrev_b32_e32 v0, 2, v03877; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v1, 0xbf20e7f43878; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v27, 0x3f5f2ee23879; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v29, 0x3f3d349e3880; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v28, 0x3f523be13881; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v17, 0xbeae29dc3882; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v26, 0x3f638e373883; GFX10-FLATSCR-PAL-NEXT:    v_and_b32_e32 v0, 0x1fc, v03884; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[1:4], off offset:3203885; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v2, v293886; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v3, v283887; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v4, v273888; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v22, 0xbf5f2ee33889; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v19, 0xbefcd89f3890; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v20, 0xbefcd8a33891; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v18, v173892; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v11, 0xbf3d349e3893; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v12, 0xbf20e7f53894; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v13, 0x3efcd89f3895; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v14, 0x3efcd89c3896; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v25, 0xbf523be33897; GFX10-FLATSCR-PAL-NEXT:    v_add_nc_u32_e32 v34, 0x200, v03898; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v5, v03899; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[26:29], off offset:3043900; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[1:4], off offset:2883901; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[17:20], off offset:2723902; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v0, 0xb702e7583903; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v1, 0xb70435193904; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v2, 0xbe31934f3905; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v3, 0xbe3193563906; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v6, 0x3eae29dc3907; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v7, 0x3eae29d83908; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v8, 0x3e3193563909; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v9, 0x3e31934f3910; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v23, 0xbf638e393911; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v24, v223912; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[11:14], off offset:2243913; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f53914; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v15, v113915; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v16, v253916; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[0:3], off offset:2563917; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[6:9], off offset:2403918; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[22:25], off offset:2083919; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[13:16], off offset:1923920; GFX10-FLATSCR-PAL-NEXT:    scratch_load_dword v1, v5, off3921; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v30, 0xbf523be13922; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v33, 0x3f3d349c3923; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v31, v283924; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v32, v113925; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v7, 0x3703c4993926; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v16, v293927; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v0, 0x3f20e7f43928; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v9, v63929; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v10, v133930; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v18, v123931; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v20, v173932; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v21, v33933; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v24, v263934; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v25, v223935; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v26, v273936; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[30:33], off offset:7843937; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v32, 0xbf5f2ee23938; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v33, v273939; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v4, v73940; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v5, v83941; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[13:16], off offset:7363942; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v13, v193943; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v14, v173944; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[7:10], off offset:8163945; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[18:21], off offset:8003946; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[23:26], off offset:7683947; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[30:33], off offset:7523948; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[3:6], off offset:7203949; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[11:14], off offset:7043950; GFX10-FLATSCR-PAL-NEXT:    s_waitcnt vmcnt(0)3951; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[0:3], off offset:8323952; GFX10-FLATSCR-PAL-NEXT:    scratch_load_dword v0, v34, off3953; GFX10-FLATSCR-PAL-NEXT:    s_waitcnt vmcnt(0)3954; GFX10-FLATSCR-PAL-NEXT:    v_add_f32_e32 v0, v1, v03955; GFX10-FLATSCR-PAL-NEXT:    ; return to shader part epilog3956;3957; GFX11-FLATSCR-LABEL: hs_main:3958; GFX11-FLATSCR:       ; %bb.0:3959; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v21, 0xbf5f2ee33960; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v1, 0xbf20e7f4 :: v_dual_lshlrev_b32 v0, 2, v03961; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v28, 0x3f3d349e3962; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v7, 0x3eae29d83963; GFX11-FLATSCR-NEXT:    s_delay_alu instid0(VALU_DEP_4)3964; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v23, v213965; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v27, 0x3f523be13966; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[1:4], off offset:3203967; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v2, v283968; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v26, 0x3f5f2ee23969; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v19, 0xbefcd89f :: v_dual_mov_b32 v30, v273970; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v3, v273971; GFX11-FLATSCR-NEXT:    s_delay_alu instid0(VALU_DEP_3)3972; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v25, 0x3f638e37 :: v_dual_mov_b32 v4, v263973; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v24, 0xbf523be33974; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v17, 0xbeae29dc3975; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v11, 0xbf3d349e3976; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v6, 0x3eae29dc3977; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v8, 0x3e3193563978; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v9, 0x3e31934f3979; GFX11-FLATSCR-NEXT:    s_clause 0x13980; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[25:28], off offset:3043981; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[1:4], off offset:2883982; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v12, 0xbf20e7f53983; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v13, 0x3efcd89f :: v_dual_mov_b32 v16, v243984; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v3, 0xbe3193563985; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v14, 0x3efcd89c3986; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v18, v17 :: v_dual_and_b32 v33, 0x1fc, v03987; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v20, 0xbefcd8a3 :: v_dual_mov_b32 v15, v113988; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v1, 0xb7043519 :: v_dual_mov_b32 v10, v133989; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v2, 0xbe31934f :: v_dual_mov_b32 v31, v113990; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v0, 0xb702e7583991; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v22, 0xbf638e393992; GFX11-FLATSCR-NEXT:    s_clause 0x13993; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[6:9], off offset:2403994; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[11:14], off offset:2243995; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v14, 0x3f20e7f5 :: v_dual_mov_b32 v9, v63996; GFX11-FLATSCR-NEXT:    s_clause 0x33997; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[17:20], off offset:2723998; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[0:3], off offset:2563999; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[21:24], off offset:2084000; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[13:16], off offset:1924001; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v4, 0x3f20e7f44002; GFX11-FLATSCR-NEXT:    scratch_load_b32 v0, v33, off4003; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v29, 0xbf523be14004; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v32, 0x3f3d349c4005; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v24, v214006; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[4:7], off offset:8324007; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v7, 0x3703c499 :: v_dual_mov_b32 v16, v284008; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[29:32], off offset:7844009; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v31, 0xbf5f2ee2 :: v_dual_mov_b32 v32, v264010; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v23, v254011; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v25, v26 :: v_dual_mov_b32 v18, v124012; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v20, v17 :: v_dual_mov_b32 v21, v34013; GFX11-FLATSCR-NEXT:    s_clause 0x14014; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[29:32], off offset:7524015; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[13:16], off offset:7364016; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v5, v8 :: v_dual_mov_b32 v14, v174017; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v4, v74018; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v13, v194019; GFX11-FLATSCR-NEXT:    s_clause 0x44020; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[7:10], off offset:8164021; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[18:21], off offset:8004022; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[22:25], off offset:7684023; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[3:6], off offset:7204024; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[11:14], off offset:7044025; GFX11-FLATSCR-NEXT:    scratch_load_b32 v1, v33, off offset:5124026; GFX11-FLATSCR-NEXT:    s_waitcnt vmcnt(0)4027; GFX11-FLATSCR-NEXT:    v_add_f32_e32 v0, v0, v14028; GFX11-FLATSCR-NEXT:    ; return to shader part epilog4029  %v1 = extractelement <81 x float> <float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float 0x3FE41CFEA0000000, float 0xBFE7A693C0000000, float 0xBFEA477C60000000, float 0xBFEBE5DC60000000, float 0xBFEC71C720000000, float 0xBFEBE5DC60000000, float 0xBFEA477C60000000, float 0xBFE7A693C0000000, float 0xBFE41CFEA0000000, float 0x3FDF9B13E0000000, float 0x3FDF9B1380000000, float 0x3FD5C53B80000000, float 0x3FD5C53B00000000, float 0x3FC6326AC0000000, float 0x3FC63269E0000000, float 0xBEE05CEB00000000, float 0xBEE086A320000000, float 0xBFC63269E0000000, float 0xBFC6326AC0000000, float 0xBFD5C53B80000000, float 0xBFD5C53B80000000, float 0xBFDF9B13E0000000, float 0xBFDF9B1460000000, float 0xBFE41CFE80000000, float 0x3FE7A693C0000000, float 0x3FEA477C20000000, float 0x3FEBE5DC40000000, float 0x3FEC71C6E0000000, float 0x3FEBE5DC40000000, float 0x3FEA477C20000000, float 0x3FE7A693C0000000, float 0xBFE41CFE80000000>, i32 %idx4030  %v2 = extractelement <81 x float> <float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float 0xBFE41CFEA0000000, float 0xBFDF9B13E0000000, float 0xBFD5C53B80000000, float 0xBFC6326AC0000000, float 0x3EE0789320000000, float 0x3FC6326AC0000000, float 0x3FD5C53B80000000, float 0x3FDF9B13E0000000, float 0x3FE41CFEA0000000, float 0xBFE7A693C0000000, float 0x3FE7A693C0000000, float 0xBFEA477C20000000, float 0x3FEA477C20000000, float 0xBFEBE5DC40000000, float 0x3FEBE5DC40000000, float 0xBFEC71C720000000, float 0x3FEC71C6E0000000, float 0xBFEBE5DC60000000, float 0x3FEBE5DC40000000, float 0xBFEA477C20000000, float 0x3FEA477C20000000, float 0xBFE7A693C0000000, float 0x3FE7A69380000000, float 0xBFE41CFEA0000000, float 0xBFDF9B13E0000000, float 0xBFD5C53B80000000, float 0xBFC6326AC0000000, float 0x3EE0789320000000, float 0x3FC6326AC0000000, float 0x3FD5C53B80000000, float 0x3FDF9B13E0000000, float 0x3FE41CFE80000000>, i32 %idx4031  %r = fadd float %v1, %v24032  ret float %r4033}4034 4035define amdgpu_gs float @gs_main(i32 %idx) {4036; SI-LABEL: gs_main:4037; SI:       ; %bb.0:4038; SI-NEXT:    s_mov_b32 s4, SCRATCH_RSRC_DWORD04039; SI-NEXT:    s_mov_b32 s5, SCRATCH_RSRC_DWORD14040; SI-NEXT:    s_mov_b32 s6, -14041; SI-NEXT:    s_mov_b32 s7, 0xe8f0004042; SI-NEXT:    s_add_u32 s4, s4, s04043; SI-NEXT:    s_addc_u32 s5, s5, 04044; SI-NEXT:    v_mov_b32_e32 v9, 0xbe31934f4045; SI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:2644046; SI-NEXT:    s_waitcnt expcnt(0)4047; SI-NEXT:    v_mov_b32_e32 v9, 0xb70435194048; SI-NEXT:    v_mov_b32_e32 v2, 0xbf20e7f44049; SI-NEXT:    v_mov_b32_e32 v6, 0x3f638e374050; SI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:2604051; SI-NEXT:    s_waitcnt expcnt(0)4052; SI-NEXT:    v_mov_b32_e32 v9, 0xb702e7584053; SI-NEXT:    v_lshlrev_b32_e32 v0, 2, v04054; SI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:3204055; SI-NEXT:    v_mov_b32_e32 v3, 0x3f3d349e4056; SI-NEXT:    v_mov_b32_e32 v4, 0x3f523be14057; SI-NEXT:    v_mov_b32_e32 v5, 0x3f5f2ee24058; SI-NEXT:    buffer_store_dword v6, off, s[4:7], 0 offset:3044059; SI-NEXT:    buffer_store_dword v5, off, s[4:7], 0 offset:3004060; SI-NEXT:    buffer_store_dword v4, off, s[4:7], 0 offset:2964061; SI-NEXT:    buffer_store_dword v3, off, s[4:7], 0 offset:2924062; SI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:2884063; SI-NEXT:    s_waitcnt expcnt(0)4064; SI-NEXT:    v_mov_b32_e32 v2, 0xbefcd8a34065; SI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:2564066; SI-NEXT:    s_waitcnt expcnt(0)4067; SI-NEXT:    v_mov_b32_e32 v9, 0x3e31934f4068; SI-NEXT:    v_mov_b32_e32 v10, 0x3eae29d84069; SI-NEXT:    v_mov_b32_e32 v11, 0x3efcd89c4070; SI-NEXT:    v_mov_b32_e32 v14, 0xbf523be34071; SI-NEXT:    v_mov_b32_e32 v16, 0xbf638e394072; SI-NEXT:    v_and_b32_e32 v0, 0x1fc, v04073; SI-NEXT:    s_mov_b32 s0, 04074; SI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:2844075; SI-NEXT:    s_waitcnt expcnt(0)4076; SI-NEXT:    v_mov_b32_e32 v2, 0xbefcd89f4077; SI-NEXT:    v_mov_b32_e32 v7, 0xbeae29dc4078; SI-NEXT:    v_mov_b32_e32 v8, 0xbe3193564079; SI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:2524080; SI-NEXT:    s_waitcnt expcnt(0)4081; SI-NEXT:    v_mov_b32_e32 v9, 0x3e3193564082; SI-NEXT:    buffer_store_dword v10, off, s[4:7], 0 offset:2444083; SI-NEXT:    s_waitcnt expcnt(0)4084; SI-NEXT:    v_mov_b32_e32 v10, 0x3eae29dc4085; SI-NEXT:    buffer_store_dword v11, off, s[4:7], 0 offset:2364086; SI-NEXT:    s_waitcnt expcnt(0)4087; SI-NEXT:    v_mov_b32_e32 v11, 0x3efcd89f4088; SI-NEXT:    v_mov_b32_e32 v12, 0xbf20e7f54089; SI-NEXT:    v_mov_b32_e32 v13, 0xbf3d349e4090; SI-NEXT:    buffer_store_dword v14, off, s[4:7], 0 offset:2204091; SI-NEXT:    v_mov_b32_e32 v15, 0xbf5f2ee34092; SI-NEXT:    buffer_store_dword v16, off, s[4:7], 0 offset:2124093; SI-NEXT:    buffer_store_dword v15, off, s[4:7], 0 offset:2084094; SI-NEXT:    buffer_store_dword v14, off, s[4:7], 0 offset:2044095; SI-NEXT:    buffer_store_dword v13, off, s[4:7], 0 offset:2004096; SI-NEXT:    s_waitcnt expcnt(1)4097; SI-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f54098; SI-NEXT:    v_add_i32_e32 v1, vcc, 0x200, v04099; SI-NEXT:    v_add_i32_e32 v0, vcc, s0, v04100; SI-NEXT:    buffer_store_dword v3, off, s[4:7], 0 offset:3164101; SI-NEXT:    buffer_store_dword v4, off, s[4:7], 0 offset:3124102; SI-NEXT:    buffer_store_dword v5, off, s[4:7], 0 offset:3084103; SI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:2804104; SI-NEXT:    buffer_store_dword v7, off, s[4:7], 0 offset:2764105; SI-NEXT:    buffer_store_dword v7, off, s[4:7], 0 offset:2724106; SI-NEXT:    buffer_store_dword v8, off, s[4:7], 0 offset:2684107; SI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:2484108; SI-NEXT:    buffer_store_dword v10, off, s[4:7], 0 offset:2404109; SI-NEXT:    buffer_store_dword v11, off, s[4:7], 0 offset:2324110; SI-NEXT:    buffer_store_dword v12, off, s[4:7], 0 offset:2284111; SI-NEXT:    buffer_store_dword v13, off, s[4:7], 0 offset:2244112; SI-NEXT:    buffer_store_dword v15, off, s[4:7], 0 offset:2164113; SI-NEXT:    buffer_store_dword v14, off, s[4:7], 0 offset:1964114; SI-NEXT:    v_mov_b32_e32 v17, 0x3f20e7f44115; SI-NEXT:    v_mov_b32_e32 v18, 0x3f3d349c4116; SI-NEXT:    buffer_load_dword v0, v0, s[4:7], 0 offen4117; SI-NEXT:    buffer_store_dword v17, off, s[4:7], 0 offset:8324118; SI-NEXT:    buffer_store_dword v11, off, s[4:7], 0 offset:8284119; SI-NEXT:    buffer_store_dword v10, off, s[4:7], 0 offset:8244120; SI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:8204121; SI-NEXT:    s_waitcnt expcnt(3)4122; SI-NEXT:    v_mov_b32_e32 v17, 0x3703c4994123; SI-NEXT:    buffer_store_dword v18, off, s[4:7], 0 offset:7964124; SI-NEXT:    buffer_store_dword v13, off, s[4:7], 0 offset:7924125; SI-NEXT:    buffer_store_dword v4, off, s[4:7], 0 offset:7884126; SI-NEXT:    s_waitcnt expcnt(2)4127; SI-NEXT:    v_mov_b32_e32 v18, 0xbf523be14128; SI-NEXT:    buffer_store_dword v17, off, s[4:7], 0 offset:8164129; SI-NEXT:    buffer_store_dword v8, off, s[4:7], 0 offset:8124130; SI-NEXT:    buffer_store_dword v7, off, s[4:7], 0 offset:8084131; SI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:8044132; SI-NEXT:    buffer_store_dword v12, off, s[4:7], 0 offset:8004133; SI-NEXT:    buffer_store_dword v18, off, s[4:7], 0 offset:7844134; SI-NEXT:    buffer_store_dword v5, off, s[4:7], 0 offset:7804135; SI-NEXT:    buffer_store_dword v15, off, s[4:7], 0 offset:7764136; SI-NEXT:    buffer_store_dword v6, off, s[4:7], 0 offset:7724137; SI-NEXT:    buffer_store_dword v16, off, s[4:7], 0 offset:7684138; SI-NEXT:    buffer_store_dword v5, off, s[4:7], 0 offset:7644139; SI-NEXT:    s_waitcnt expcnt(0)4140; SI-NEXT:    v_mov_b32_e32 v5, 0xbf5f2ee24141; SI-NEXT:    buffer_store_dword v5, off, s[4:7], 0 offset:7604142; SI-NEXT:    buffer_store_dword v4, off, s[4:7], 0 offset:7564143; SI-NEXT:    buffer_store_dword v18, off, s[4:7], 0 offset:7524144; SI-NEXT:    buffer_store_dword v3, off, s[4:7], 0 offset:7484145; SI-NEXT:    buffer_store_dword v13, off, s[4:7], 0 offset:7444146; SI-NEXT:    buffer_store_dword v14, off, s[4:7], 0 offset:7404147; SI-NEXT:    buffer_store_dword v11, off, s[4:7], 0 offset:7364148; SI-NEXT:    buffer_store_dword v10, off, s[4:7], 0 offset:7324149; SI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:7284150; SI-NEXT:    buffer_store_dword v17, off, s[4:7], 0 offset:7244151; SI-NEXT:    buffer_store_dword v8, off, s[4:7], 0 offset:7204152; SI-NEXT:    buffer_store_dword v7, off, s[4:7], 0 offset:7164153; SI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:7124154; SI-NEXT:    buffer_store_dword v12, off, s[4:7], 0 offset:7084155; SI-NEXT:    buffer_load_dword v1, v1, s[4:7], 0 offen4156; SI-NEXT:    s_waitcnt vmcnt(0)4157; SI-NEXT:    v_add_f32_e32 v0, v0, v14158; SI-NEXT:    s_waitcnt expcnt(0)4159; SI-NEXT:    ; return to shader part epilog4160;4161; VI-LABEL: gs_main:4162; VI:       ; %bb.0:4163; VI-NEXT:    s_mov_b32 s4, SCRATCH_RSRC_DWORD04164; VI-NEXT:    s_mov_b32 s5, SCRATCH_RSRC_DWORD14165; VI-NEXT:    s_mov_b32 s6, -14166; VI-NEXT:    s_mov_b32 s7, 0xe800004167; VI-NEXT:    s_add_u32 s4, s4, s04168; VI-NEXT:    s_addc_u32 s5, s5, 04169; VI-NEXT:    v_mov_b32_e32 v9, 0xbe31934f4170; VI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:2644171; VI-NEXT:    v_mov_b32_e32 v9, 0xb70435194172; VI-NEXT:    v_mov_b32_e32 v2, 0xbf20e7f44173; VI-NEXT:    v_mov_b32_e32 v6, 0x3f638e374174; VI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:2604175; VI-NEXT:    v_mov_b32_e32 v9, 0xb702e7584176; VI-NEXT:    v_lshlrev_b32_e32 v0, 2, v04177; VI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:3204178; VI-NEXT:    v_mov_b32_e32 v3, 0x3f3d349e4179; VI-NEXT:    v_mov_b32_e32 v4, 0x3f523be14180; VI-NEXT:    v_mov_b32_e32 v5, 0x3f5f2ee24181; VI-NEXT:    buffer_store_dword v6, off, s[4:7], 0 offset:3044182; VI-NEXT:    buffer_store_dword v5, off, s[4:7], 0 offset:3004183; VI-NEXT:    buffer_store_dword v4, off, s[4:7], 0 offset:2964184; VI-NEXT:    buffer_store_dword v3, off, s[4:7], 0 offset:2924185; VI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:2884186; VI-NEXT:    v_mov_b32_e32 v2, 0xbefcd8a34187; VI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:2564188; VI-NEXT:    v_mov_b32_e32 v9, 0x3e31934f4189; VI-NEXT:    v_mov_b32_e32 v10, 0x3eae29d84190; VI-NEXT:    v_mov_b32_e32 v11, 0x3efcd89c4191; VI-NEXT:    v_mov_b32_e32 v14, 0xbf523be34192; VI-NEXT:    v_mov_b32_e32 v16, 0xbf638e394193; VI-NEXT:    v_and_b32_e32 v0, 0x1fc, v04194; VI-NEXT:    s_mov_b32 s0, 04195; VI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:2844196; VI-NEXT:    v_mov_b32_e32 v2, 0xbefcd89f4197; VI-NEXT:    v_mov_b32_e32 v7, 0xbeae29dc4198; VI-NEXT:    v_mov_b32_e32 v8, 0xbe3193564199; VI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:2524200; VI-NEXT:    v_mov_b32_e32 v9, 0x3e3193564201; VI-NEXT:    buffer_store_dword v10, off, s[4:7], 0 offset:2444202; VI-NEXT:    v_mov_b32_e32 v10, 0x3eae29dc4203; VI-NEXT:    buffer_store_dword v11, off, s[4:7], 0 offset:2364204; VI-NEXT:    v_mov_b32_e32 v11, 0x3efcd89f4205; VI-NEXT:    v_mov_b32_e32 v12, 0xbf20e7f54206; VI-NEXT:    v_mov_b32_e32 v13, 0xbf3d349e4207; VI-NEXT:    buffer_store_dword v14, off, s[4:7], 0 offset:2204208; VI-NEXT:    v_mov_b32_e32 v15, 0xbf5f2ee34209; VI-NEXT:    buffer_store_dword v16, off, s[4:7], 0 offset:2124210; VI-NEXT:    buffer_store_dword v15, off, s[4:7], 0 offset:2084211; VI-NEXT:    buffer_store_dword v14, off, s[4:7], 0 offset:2044212; VI-NEXT:    buffer_store_dword v13, off, s[4:7], 0 offset:2004213; VI-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f54214; VI-NEXT:    v_add_u32_e32 v1, vcc, 0x200, v04215; VI-NEXT:    v_add_u32_e32 v0, vcc, s0, v04216; VI-NEXT:    buffer_store_dword v3, off, s[4:7], 0 offset:3164217; VI-NEXT:    buffer_store_dword v4, off, s[4:7], 0 offset:3124218; VI-NEXT:    buffer_store_dword v5, off, s[4:7], 0 offset:3084219; VI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:2804220; VI-NEXT:    buffer_store_dword v7, off, s[4:7], 0 offset:2764221; VI-NEXT:    buffer_store_dword v7, off, s[4:7], 0 offset:2724222; VI-NEXT:    buffer_store_dword v8, off, s[4:7], 0 offset:2684223; VI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:2484224; VI-NEXT:    buffer_store_dword v10, off, s[4:7], 0 offset:2404225; VI-NEXT:    buffer_store_dword v11, off, s[4:7], 0 offset:2324226; VI-NEXT:    buffer_store_dword v12, off, s[4:7], 0 offset:2284227; VI-NEXT:    buffer_store_dword v13, off, s[4:7], 0 offset:2244228; VI-NEXT:    buffer_store_dword v15, off, s[4:7], 0 offset:2164229; VI-NEXT:    buffer_store_dword v14, off, s[4:7], 0 offset:1964230; VI-NEXT:    v_mov_b32_e32 v17, 0x3f20e7f44231; VI-NEXT:    v_mov_b32_e32 v18, 0x3f3d349c4232; VI-NEXT:    buffer_load_dword v0, v0, s[4:7], 0 offen4233; VI-NEXT:    buffer_store_dword v17, off, s[4:7], 0 offset:8324234; VI-NEXT:    buffer_store_dword v11, off, s[4:7], 0 offset:8284235; VI-NEXT:    buffer_store_dword v10, off, s[4:7], 0 offset:8244236; VI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:8204237; VI-NEXT:    v_mov_b32_e32 v17, 0x3703c4994238; VI-NEXT:    buffer_store_dword v18, off, s[4:7], 0 offset:7964239; VI-NEXT:    buffer_store_dword v13, off, s[4:7], 0 offset:7924240; VI-NEXT:    buffer_store_dword v4, off, s[4:7], 0 offset:7884241; VI-NEXT:    v_mov_b32_e32 v18, 0xbf523be14242; VI-NEXT:    buffer_store_dword v17, off, s[4:7], 0 offset:8164243; VI-NEXT:    buffer_store_dword v8, off, s[4:7], 0 offset:8124244; VI-NEXT:    buffer_store_dword v7, off, s[4:7], 0 offset:8084245; VI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:8044246; VI-NEXT:    buffer_store_dword v12, off, s[4:7], 0 offset:8004247; VI-NEXT:    buffer_store_dword v18, off, s[4:7], 0 offset:7844248; VI-NEXT:    buffer_store_dword v5, off, s[4:7], 0 offset:7804249; VI-NEXT:    buffer_store_dword v15, off, s[4:7], 0 offset:7764250; VI-NEXT:    buffer_store_dword v6, off, s[4:7], 0 offset:7724251; VI-NEXT:    buffer_store_dword v16, off, s[4:7], 0 offset:7684252; VI-NEXT:    buffer_store_dword v5, off, s[4:7], 0 offset:7644253; VI-NEXT:    v_mov_b32_e32 v5, 0xbf5f2ee24254; VI-NEXT:    buffer_store_dword v5, off, s[4:7], 0 offset:7604255; VI-NEXT:    buffer_store_dword v4, off, s[4:7], 0 offset:7564256; VI-NEXT:    buffer_store_dword v18, off, s[4:7], 0 offset:7524257; VI-NEXT:    buffer_store_dword v3, off, s[4:7], 0 offset:7484258; VI-NEXT:    buffer_store_dword v13, off, s[4:7], 0 offset:7444259; VI-NEXT:    buffer_store_dword v14, off, s[4:7], 0 offset:7404260; VI-NEXT:    buffer_store_dword v11, off, s[4:7], 0 offset:7364261; VI-NEXT:    buffer_store_dword v10, off, s[4:7], 0 offset:7324262; VI-NEXT:    buffer_store_dword v9, off, s[4:7], 0 offset:7284263; VI-NEXT:    buffer_store_dword v17, off, s[4:7], 0 offset:7244264; VI-NEXT:    buffer_store_dword v8, off, s[4:7], 0 offset:7204265; VI-NEXT:    buffer_store_dword v7, off, s[4:7], 0 offset:7164266; VI-NEXT:    buffer_store_dword v2, off, s[4:7], 0 offset:7124267; VI-NEXT:    buffer_store_dword v12, off, s[4:7], 0 offset:7084268; VI-NEXT:    buffer_load_dword v1, v1, s[4:7], 0 offen4269; VI-NEXT:    s_waitcnt vmcnt(0)4270; VI-NEXT:    v_add_f32_e32 v0, v0, v14271; VI-NEXT:    ; return to shader part epilog4272;4273; GFX9-MUBUF-LABEL: gs_main:4274; GFX9-MUBUF:       ; %bb.0:4275; GFX9-MUBUF-NEXT:    s_mov_b32 s0, SCRATCH_RSRC_DWORD04276; GFX9-MUBUF-NEXT:    s_mov_b32 s1, SCRATCH_RSRC_DWORD14277; GFX9-MUBUF-NEXT:    s_mov_b32 s2, -14278; GFX9-MUBUF-NEXT:    s_mov_b32 s3, 0xe000004279; GFX9-MUBUF-NEXT:    s_add_u32 s0, s0, s54280; GFX9-MUBUF-NEXT:    s_addc_u32 s1, s1, 04281; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v9, 0xbe31934f4282; GFX9-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:2644283; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v9, 0xb70435194284; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v2, 0xbf20e7f44285; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v6, 0x3f638e374286; GFX9-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:2604287; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v9, 0xb702e7584288; GFX9-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:3204289; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v3, 0x3f3d349e4290; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v4, 0x3f523be14291; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v5, 0x3f5f2ee24292; GFX9-MUBUF-NEXT:    buffer_store_dword v6, off, s[0:3], 0 offset:3044293; GFX9-MUBUF-NEXT:    buffer_store_dword v5, off, s[0:3], 0 offset:3004294; GFX9-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:2964295; GFX9-MUBUF-NEXT:    buffer_store_dword v3, off, s[0:3], 0 offset:2924296; GFX9-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:2884297; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v2, 0xbefcd8a34298; GFX9-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:2564299; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v9, 0x3e31934f4300; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v10, 0x3eae29d84301; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v11, 0x3efcd89c4302; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v14, 0xbf523be34303; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v16, 0xbf638e394304; GFX9-MUBUF-NEXT:    v_lshlrev_b32_e32 v0, 2, v04305; GFX9-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:2844306; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v2, 0xbefcd89f4307; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v7, 0xbeae29dc4308; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v8, 0xbe3193564309; GFX9-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:2524310; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v9, 0x3e3193564311; GFX9-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:2444312; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v10, 0x3eae29dc4313; GFX9-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:2364314; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v11, 0x3efcd89f4315; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v12, 0xbf20e7f54316; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v13, 0xbf3d349e4317; GFX9-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:2204318; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v15, 0xbf5f2ee34319; GFX9-MUBUF-NEXT:    buffer_store_dword v16, off, s[0:3], 0 offset:2124320; GFX9-MUBUF-NEXT:    buffer_store_dword v15, off, s[0:3], 0 offset:2084321; GFX9-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:2044322; GFX9-MUBUF-NEXT:    buffer_store_dword v13, off, s[0:3], 0 offset:2004323; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f54324; GFX9-MUBUF-NEXT:    v_and_b32_e32 v0, 0x1fc, v04325; GFX9-MUBUF-NEXT:    buffer_store_dword v3, off, s[0:3], 0 offset:3164326; GFX9-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:3124327; GFX9-MUBUF-NEXT:    buffer_store_dword v5, off, s[0:3], 0 offset:3084328; GFX9-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:2804329; GFX9-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:2764330; GFX9-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:2724331; GFX9-MUBUF-NEXT:    buffer_store_dword v8, off, s[0:3], 0 offset:2684332; GFX9-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:2484333; GFX9-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:2404334; GFX9-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:2324335; GFX9-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:2284336; GFX9-MUBUF-NEXT:    buffer_store_dword v13, off, s[0:3], 0 offset:2244337; GFX9-MUBUF-NEXT:    buffer_store_dword v15, off, s[0:3], 0 offset:2164338; GFX9-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:1964339; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v17, 0x3f20e7f44340; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v18, 0x3f3d349c4341; GFX9-MUBUF-NEXT:    v_add_u32_e32 v1, 0x200, v04342; GFX9-MUBUF-NEXT:    buffer_load_dword v0, v0, s[0:3], 0 offen4343; GFX9-MUBUF-NEXT:    s_nop 04344; GFX9-MUBUF-NEXT:    buffer_store_dword v17, off, s[0:3], 0 offset:8324345; GFX9-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:8284346; GFX9-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:8244347; GFX9-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:8204348; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v17, 0x3703c4994349; GFX9-MUBUF-NEXT:    buffer_store_dword v18, off, s[0:3], 0 offset:7964350; GFX9-MUBUF-NEXT:    buffer_store_dword v13, off, s[0:3], 0 offset:7924351; GFX9-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:7884352; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v18, 0xbf523be14353; GFX9-MUBUF-NEXT:    buffer_store_dword v17, off, s[0:3], 0 offset:8164354; GFX9-MUBUF-NEXT:    buffer_store_dword v8, off, s[0:3], 0 offset:8124355; GFX9-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:8084356; GFX9-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:8044357; GFX9-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:8004358; GFX9-MUBUF-NEXT:    buffer_store_dword v18, off, s[0:3], 0 offset:7844359; GFX9-MUBUF-NEXT:    buffer_store_dword v5, off, s[0:3], 0 offset:7804360; GFX9-MUBUF-NEXT:    buffer_store_dword v15, off, s[0:3], 0 offset:7764361; GFX9-MUBUF-NEXT:    buffer_store_dword v6, off, s[0:3], 0 offset:7724362; GFX9-MUBUF-NEXT:    buffer_store_dword v16, off, s[0:3], 0 offset:7684363; GFX9-MUBUF-NEXT:    buffer_store_dword v5, off, s[0:3], 0 offset:7644364; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v5, 0xbf5f2ee24365; GFX9-MUBUF-NEXT:    buffer_store_dword v5, off, s[0:3], 0 offset:7604366; GFX9-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:7564367; GFX9-MUBUF-NEXT:    buffer_store_dword v18, off, s[0:3], 0 offset:7524368; GFX9-MUBUF-NEXT:    buffer_store_dword v3, off, s[0:3], 0 offset:7484369; GFX9-MUBUF-NEXT:    buffer_store_dword v13, off, s[0:3], 0 offset:7444370; GFX9-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:7404371; GFX9-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:7364372; GFX9-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:7324373; GFX9-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:7284374; GFX9-MUBUF-NEXT:    buffer_store_dword v17, off, s[0:3], 0 offset:7244375; GFX9-MUBUF-NEXT:    buffer_store_dword v8, off, s[0:3], 0 offset:7204376; GFX9-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:7164377; GFX9-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:7124378; GFX9-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:7084379; GFX9-MUBUF-NEXT:    buffer_load_dword v1, v1, s[0:3], 0 offen4380; GFX9-MUBUF-NEXT:    s_waitcnt vmcnt(0)4381; GFX9-MUBUF-NEXT:    v_add_f32_e32 v0, v0, v14382; GFX9-MUBUF-NEXT:    ; return to shader part epilog4383;4384; GFX10_W32-MUBUF-LABEL: gs_main:4385; GFX10_W32-MUBUF:       ; %bb.0:4386; GFX10_W32-MUBUF-NEXT:    s_mov_b32 s0, SCRATCH_RSRC_DWORD04387; GFX10_W32-MUBUF-NEXT:    s_mov_b32 s1, SCRATCH_RSRC_DWORD14388; GFX10_W32-MUBUF-NEXT:    s_mov_b32 s2, -14389; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v1, 0xbf20e7f44390; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v2, 0x3f3d349e4391; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v3, 0x3f523be14392; GFX10_W32-MUBUF-NEXT:    s_mov_b32 s3, 0x31c160004393; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v4, 0x3f5f2ee24394; GFX10_W32-MUBUF-NEXT:    s_add_u32 s0, s0, s54395; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v5, 0x3f638e374396; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v7, 0xbefcd8a34397; GFX10_W32-MUBUF-NEXT:    s_addc_u32 s1, s1, 04398; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v8, 0xbefcd89f4399; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v9, 0xbeae29dc4400; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v1, off, s[0:3], 0 offset:3204401; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:3164402; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v3, off, s[0:3], 0 offset:3124403; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:3084404; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v5, off, s[0:3], 0 offset:3044405; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:3004406; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:2924407; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v1, off, s[0:3], 0 offset:2884408; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:2844409; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v8, off, s[0:3], 0 offset:2804410; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:2764411; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:2724412; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v1, 0xbe3193564413; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v7, 0xbe31934f4414; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v10, 0xb70435194415; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v11, 0xb702e7584416; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v12, 0x3e31934f4417; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v1, off, s[0:3], 0 offset:2684418; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:2644419; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:2604420; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:2564421; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:2524422; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v7, 0x3e3193564423; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v10, 0x3eae29d84424; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v11, 0x3eae29dc4425; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v12, 0x3efcd89c4426; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v13, 0x3efcd89f4427; GFX10_W32-MUBUF-NEXT:    v_lshlrev_b32_e32 v0, 2, v04428; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:2484429; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:2444430; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:2404431; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:2364432; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v13, off, s[0:3], 0 offset:2324433; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v10, 0xbf20e7f54434; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v15, 0xbf5f2ee34435; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v12, 0xbf3d349e4436; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v14, 0xbf523be34437; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v16, 0xbf638e394438; GFX10_W32-MUBUF-NEXT:    v_and_b32_e32 v0, 0x1fc, v04439; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:2284440; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:2244441; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:2204442; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v15, off, s[0:3], 0 offset:2164443; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v16, off, s[0:3], 0 offset:2124444; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v17, 0x3f20e7f54445; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v15, off, s[0:3], 0 offset:2084446; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:2044447; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f44448; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v3, off, s[0:3], 0 offset:2964449; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:2004450; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v17, off, s[0:3], 0 offset:1964451; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v18, 0x3703c4994452; GFX10_W32-MUBUF-NEXT:    v_add_nc_u32_e32 v6, 0x200, v04453; GFX10_W32-MUBUF-NEXT:    buffer_load_dword v0, v0, s[0:3], 0 offen4454; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:8324455; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v13, off, s[0:3], 0 offset:8284456; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:8244457; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:8204458; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v18, off, s[0:3], 0 offset:8164459; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v1, off, s[0:3], 0 offset:8124460; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v14, 0x3f3d349c4461; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v19, 0xbf523be14462; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:8004463; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:7964464; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:7924465; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v3, off, s[0:3], 0 offset:7884466; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v19, off, s[0:3], 0 offset:7844467; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:7804468; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v14, 0xbf5f2ee24469; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:8084470; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v8, off, s[0:3], 0 offset:8044471; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v15, off, s[0:3], 0 offset:7764472; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v5, off, s[0:3], 0 offset:7724473; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v16, off, s[0:3], 0 offset:7684474; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:7644475; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:7604476; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v3, off, s[0:3], 0 offset:7564477; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v19, off, s[0:3], 0 offset:7524478; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:7484479; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:7444480; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v17, off, s[0:3], 0 offset:7404481; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v13, off, s[0:3], 0 offset:7364482; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:7324483; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:7284484; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v18, off, s[0:3], 0 offset:7244485; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v1, off, s[0:3], 0 offset:7204486; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:7164487; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v8, off, s[0:3], 0 offset:7124488; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:7084489; GFX10_W32-MUBUF-NEXT:    buffer_load_dword v1, v6, s[0:3], 0 offen4490; GFX10_W32-MUBUF-NEXT:    s_waitcnt vmcnt(0)4491; GFX10_W32-MUBUF-NEXT:    v_add_f32_e32 v0, v0, v14492; GFX10_W32-MUBUF-NEXT:    ; return to shader part epilog4493;4494; GFX10_W64-MUBUF-LABEL: gs_main:4495; GFX10_W64-MUBUF:       ; %bb.0:4496; GFX10_W64-MUBUF-NEXT:    s_mov_b32 s0, SCRATCH_RSRC_DWORD04497; GFX10_W64-MUBUF-NEXT:    s_mov_b32 s1, SCRATCH_RSRC_DWORD14498; GFX10_W64-MUBUF-NEXT:    s_mov_b32 s2, -14499; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v1, 0xbf20e7f44500; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v2, 0x3f3d349e4501; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v3, 0x3f523be14502; GFX10_W64-MUBUF-NEXT:    s_mov_b32 s3, 0x31e160004503; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v4, 0x3f5f2ee24504; GFX10_W64-MUBUF-NEXT:    s_add_u32 s0, s0, s54505; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v5, 0x3f638e374506; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v7, 0xbefcd8a34507; GFX10_W64-MUBUF-NEXT:    s_addc_u32 s1, s1, 04508; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v8, 0xbefcd89f4509; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v9, 0xbeae29dc4510; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v1, off, s[0:3], 0 offset:3204511; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:3164512; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v3, off, s[0:3], 0 offset:3124513; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:3084514; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v5, off, s[0:3], 0 offset:3044515; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:3004516; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:2924517; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v1, off, s[0:3], 0 offset:2884518; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:2844519; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v8, off, s[0:3], 0 offset:2804520; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:2764521; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:2724522; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v1, 0xbe3193564523; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v7, 0xbe31934f4524; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v10, 0xb70435194525; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v11, 0xb702e7584526; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v12, 0x3e31934f4527; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v1, off, s[0:3], 0 offset:2684528; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:2644529; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:2604530; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:2564531; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:2524532; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v7, 0x3e3193564533; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v10, 0x3eae29d84534; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v11, 0x3eae29dc4535; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v12, 0x3efcd89c4536; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v13, 0x3efcd89f4537; GFX10_W64-MUBUF-NEXT:    v_lshlrev_b32_e32 v0, 2, v04538; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:2484539; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:2444540; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:2404541; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:2364542; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v13, off, s[0:3], 0 offset:2324543; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v10, 0xbf20e7f54544; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v15, 0xbf5f2ee34545; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v12, 0xbf3d349e4546; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v14, 0xbf523be34547; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v16, 0xbf638e394548; GFX10_W64-MUBUF-NEXT:    v_and_b32_e32 v0, 0x1fc, v04549; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:2284550; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:2244551; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:2204552; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v15, off, s[0:3], 0 offset:2164553; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v16, off, s[0:3], 0 offset:2124554; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v17, 0x3f20e7f54555; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v15, off, s[0:3], 0 offset:2084556; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:2044557; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f44558; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v3, off, s[0:3], 0 offset:2964559; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:2004560; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v17, off, s[0:3], 0 offset:1964561; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v18, 0x3703c4994562; GFX10_W64-MUBUF-NEXT:    v_add_nc_u32_e32 v6, 0x200, v04563; GFX10_W64-MUBUF-NEXT:    buffer_load_dword v0, v0, s[0:3], 0 offen4564; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:8324565; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v13, off, s[0:3], 0 offset:8284566; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:8244567; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:8204568; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v18, off, s[0:3], 0 offset:8164569; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v1, off, s[0:3], 0 offset:8124570; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v14, 0x3f3d349c4571; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v19, 0xbf523be14572; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:8004573; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:7964574; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:7924575; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v3, off, s[0:3], 0 offset:7884576; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v19, off, s[0:3], 0 offset:7844577; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:7804578; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v14, 0xbf5f2ee24579; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:8084580; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v8, off, s[0:3], 0 offset:8044581; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v15, off, s[0:3], 0 offset:7764582; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v5, off, s[0:3], 0 offset:7724583; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v16, off, s[0:3], 0 offset:7684584; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v4, off, s[0:3], 0 offset:7644585; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v14, off, s[0:3], 0 offset:7604586; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v3, off, s[0:3], 0 offset:7564587; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v19, off, s[0:3], 0 offset:7524588; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], 0 offset:7484589; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v12, off, s[0:3], 0 offset:7444590; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v17, off, s[0:3], 0 offset:7404591; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v13, off, s[0:3], 0 offset:7364592; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v11, off, s[0:3], 0 offset:7324593; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v7, off, s[0:3], 0 offset:7284594; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v18, off, s[0:3], 0 offset:7244595; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v1, off, s[0:3], 0 offset:7204596; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v9, off, s[0:3], 0 offset:7164597; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v8, off, s[0:3], 0 offset:7124598; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v10, off, s[0:3], 0 offset:7084599; GFX10_W64-MUBUF-NEXT:    buffer_load_dword v1, v6, s[0:3], 0 offen4600; GFX10_W64-MUBUF-NEXT:    s_waitcnt vmcnt(0)4601; GFX10_W64-MUBUF-NEXT:    v_add_f32_e32 v0, v0, v14602; GFX10_W64-MUBUF-NEXT:    ; return to shader part epilog4603;4604; GFX9-FLATSCR-LABEL: gs_main:4605; GFX9-FLATSCR:       ; %bb.0:4606; GFX9-FLATSCR-NEXT:    s_add_u32 flat_scratch_lo, s0, s54607; GFX9-FLATSCR-NEXT:    v_lshlrev_b32_e32 v0, 2, v04608; GFX9-FLATSCR-NEXT:    s_addc_u32 flat_scratch_hi, s1, 04609; GFX9-FLATSCR-NEXT:    v_and_b32_e32 v30, 0x1fc, v04610; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v0, 0xbf20e7f44611; GFX9-FLATSCR-NEXT:    s_mov_b32 s0, 04612; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v27, 0x3f5f2ee24613; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v28, 0x3f523be14614; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v29, 0x3f3d349e4615; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:3204616; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v17, 0xbeae29dc4617; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v1, v294618; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v2, v284619; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v3, v274620; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v11, 0xbf3d349e4621; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v12, 0xbf20e7f54622; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v13, 0x3efcd89f4623; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v14, 0x3efcd89c4624; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v22, 0xbf5f2ee34625; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v25, 0xbf523be34626; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v26, 0x3f638e374627; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:2884628; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v19, 0xbefcd89f4629; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v20, 0xbefcd8a34630; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v18, v174631; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v0, 0xb702e7584632; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v1, 0xb70435194633; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v2, 0xbe31934f4634; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v3, 0xbe3193564635; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v6, 0x3eae29dc4636; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v7, 0x3eae29d84637; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v8, 0x3e3193564638; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v9, 0x3e31934f4639; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[11:14], s0 offset:2244640; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v23, 0xbf638e394641; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v24, v224642; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f54643; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v15, v114644; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v16, v254645; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[26:29], s0 offset:3044646; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[17:20], s0 offset:2724647; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:2564648; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[6:9], s0 offset:2404649; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[22:25], s0 offset:2084650; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[13:16], s0 offset:1924651; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v0, v304652; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v7, 0x3703c4994653; GFX9-FLATSCR-NEXT:    scratch_load_dword v31, v0, off4654; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v4, v74655; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v5, v84656; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v0, 0x3f20e7f44657; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v21, v34658; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[3:6], s0 offset:7204659; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:8324660; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v16, v294661; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v0, 0xbf523be14662; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v3, 0x3f3d349c4663; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v1, v284664; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v2, v114665; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v9, v64666; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v10, v134667; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v24, v264668; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v25, v224669; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v26, v274670; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:7844671; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v18, v124672; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v2, 0xbf5f2ee24673; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v3, v274674; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v20, v174675; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[13:16], s0 offset:7364676; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[7:10], s0 offset:8164677; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v13, v194678; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v14, v174679; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[23:26], s0 offset:7684680; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:7524681; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[18:21], s0 offset:8004682; GFX9-FLATSCR-NEXT:    v_add_u32_e32 v0, 0x200, v304683; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[11:14], s0 offset:7044684; GFX9-FLATSCR-NEXT:    scratch_load_dword v0, v0, off4685; GFX9-FLATSCR-NEXT:    s_waitcnt vmcnt(0)4686; GFX9-FLATSCR-NEXT:    v_add_f32_e32 v0, v31, v04687; GFX9-FLATSCR-NEXT:    ; return to shader part epilog4688;4689; GFX10-FLATSCR-LABEL: gs_main:4690; GFX10-FLATSCR:       ; %bb.0:4691; GFX10-FLATSCR-NEXT:    s_add_u32 s0, s0, s54692; GFX10-FLATSCR-NEXT:    s_addc_u32 s1, s1, 04693; GFX10-FLATSCR-NEXT:    s_setreg_b32 hwreg(HW_REG_FLAT_SCR_LO), s04694; GFX10-FLATSCR-NEXT:    s_setreg_b32 hwreg(HW_REG_FLAT_SCR_HI), s14695; GFX10-FLATSCR-NEXT:    v_lshlrev_b32_e32 v0, 2, v04696; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v1, 0xbf20e7f44697; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v27, 0x3f5f2ee24698; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v29, 0x3f3d349e4699; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v28, 0x3f523be14700; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v17, 0xbeae29dc4701; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v26, 0x3f638e374702; GFX10-FLATSCR-NEXT:    v_and_b32_e32 v0, 0x1fc, v04703; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[1:4], off offset:3204704; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v2, v294705; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v3, v284706; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v4, v274707; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v22, 0xbf5f2ee34708; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v19, 0xbefcd89f4709; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v20, 0xbefcd8a34710; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v18, v174711; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v11, 0xbf3d349e4712; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v12, 0xbf20e7f54713; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v13, 0x3efcd89f4714; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v14, 0x3efcd89c4715; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v25, 0xbf523be34716; GFX10-FLATSCR-NEXT:    v_add_nc_u32_e32 v34, 0x200, v04717; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v5, v04718; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[26:29], off offset:3044719; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[1:4], off offset:2884720; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[17:20], off offset:2724721; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v0, 0xb702e7584722; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v1, 0xb70435194723; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v2, 0xbe31934f4724; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v3, 0xbe3193564725; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v6, 0x3eae29dc4726; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v7, 0x3eae29d84727; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v8, 0x3e3193564728; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v9, 0x3e31934f4729; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v23, 0xbf638e394730; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v24, v224731; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[11:14], off offset:2244732; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f54733; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v15, v114734; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v16, v254735; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[0:3], off offset:2564736; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[6:9], off offset:2404737; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[22:25], off offset:2084738; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[13:16], off offset:1924739; GFX10-FLATSCR-NEXT:    scratch_load_dword v1, v5, off4740; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v30, 0xbf523be14741; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v33, 0x3f3d349c4742; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v31, v284743; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v32, v114744; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v7, 0x3703c4994745; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v16, v294746; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v0, 0x3f20e7f44747; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v9, v64748; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v10, v134749; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v18, v124750; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v20, v174751; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v21, v34752; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v24, v264753; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v25, v224754; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v26, v274755; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[30:33], off offset:7844756; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v32, 0xbf5f2ee24757; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v33, v274758; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v4, v74759; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v5, v84760; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[13:16], off offset:7364761; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v13, v194762; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v14, v174763; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[7:10], off offset:8164764; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[18:21], off offset:8004765; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[23:26], off offset:7684766; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[30:33], off offset:7524767; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[3:6], off offset:7204768; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[11:14], off offset:7044769; GFX10-FLATSCR-NEXT:    s_waitcnt vmcnt(0)4770; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[0:3], off offset:8324771; GFX10-FLATSCR-NEXT:    scratch_load_dword v0, v34, off4772; GFX10-FLATSCR-NEXT:    s_waitcnt vmcnt(0)4773; GFX10-FLATSCR-NEXT:    v_add_f32_e32 v0, v1, v04774; GFX10-FLATSCR-NEXT:    ; return to shader part epilog4775;4776; GFX9-FLATSCR-PAL-LABEL: gs_main:4777; GFX9-FLATSCR-PAL:       ; %bb.0:4778; GFX9-FLATSCR-PAL-NEXT:    s_getpc_b64 s[0:1]4779; GFX9-FLATSCR-PAL-NEXT:    s_mov_b32 s0, s84780; GFX9-FLATSCR-PAL-NEXT:    s_load_dwordx2 s[0:1], s[0:1], 0x04781; GFX9-FLATSCR-PAL-NEXT:    v_lshlrev_b32_e32 v0, 2, v04782; GFX9-FLATSCR-PAL-NEXT:    v_and_b32_e32 v30, 0x1fc, v04783; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v0, 0xbf20e7f44784; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v27, 0x3f5f2ee24785; GFX9-FLATSCR-PAL-NEXT:    s_waitcnt lgkmcnt(0)4786; GFX9-FLATSCR-PAL-NEXT:    s_and_b32 s1, s1, 0xffff4787; GFX9-FLATSCR-PAL-NEXT:    s_add_u32 flat_scratch_lo, s0, s54788; GFX9-FLATSCR-PAL-NEXT:    s_addc_u32 flat_scratch_hi, s1, 04789; GFX9-FLATSCR-PAL-NEXT:    s_mov_b32 s0, 04790; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v28, 0x3f523be14791; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v29, 0x3f3d349e4792; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:3204793; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v17, 0xbeae29dc4794; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v1, v294795; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v2, v284796; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v3, v274797; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v11, 0xbf3d349e4798; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v12, 0xbf20e7f54799; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v13, 0x3efcd89f4800; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v14, 0x3efcd89c4801; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v22, 0xbf5f2ee34802; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v25, 0xbf523be34803; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v26, 0x3f638e374804; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:2884805; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v19, 0xbefcd89f4806; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v20, 0xbefcd8a34807; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v18, v174808; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v0, 0xb702e7584809; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v1, 0xb70435194810; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v2, 0xbe31934f4811; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v3, 0xbe3193564812; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v6, 0x3eae29dc4813; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v7, 0x3eae29d84814; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v8, 0x3e3193564815; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v9, 0x3e31934f4816; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[11:14], s0 offset:2244817; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v23, 0xbf638e394818; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v24, v224819; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f54820; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v15, v114821; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v16, v254822; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[26:29], s0 offset:3044823; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[17:20], s0 offset:2724824; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:2564825; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[6:9], s0 offset:2404826; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[22:25], s0 offset:2084827; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[13:16], s0 offset:1924828; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v0, v304829; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v7, 0x3703c4994830; GFX9-FLATSCR-PAL-NEXT:    scratch_load_dword v31, v0, off4831; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v4, v74832; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v5, v84833; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v0, 0x3f20e7f44834; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v21, v34835; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[3:6], s0 offset:7204836; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:8324837; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v16, v294838; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v0, 0xbf523be14839; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v3, 0x3f3d349c4840; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v1, v284841; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v2, v114842; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v9, v64843; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v10, v134844; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v24, v264845; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v25, v224846; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v26, v274847; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:7844848; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v18, v124849; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v2, 0xbf5f2ee24850; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v3, v274851; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v20, v174852; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[13:16], s0 offset:7364853; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[7:10], s0 offset:8164854; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v13, v194855; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v14, v174856; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[23:26], s0 offset:7684857; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:7524858; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[18:21], s0 offset:8004859; GFX9-FLATSCR-PAL-NEXT:    v_add_u32_e32 v0, 0x200, v304860; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[11:14], s0 offset:7044861; GFX9-FLATSCR-PAL-NEXT:    scratch_load_dword v0, v0, off4862; GFX9-FLATSCR-PAL-NEXT:    s_waitcnt vmcnt(0)4863; GFX9-FLATSCR-PAL-NEXT:    v_add_f32_e32 v0, v31, v04864; GFX9-FLATSCR-PAL-NEXT:    ; return to shader part epilog4865;4866; GFX10-FLATSCR-PAL-LABEL: gs_main:4867; GFX10-FLATSCR-PAL:       ; %bb.0:4868; GFX10-FLATSCR-PAL-NEXT:    s_getpc_b64 s[0:1]4869; GFX10-FLATSCR-PAL-NEXT:    s_mov_b32 s0, s84870; GFX10-FLATSCR-PAL-NEXT:    s_load_dwordx2 s[0:1], s[0:1], 0x04871; GFX10-FLATSCR-PAL-NEXT:    s_waitcnt lgkmcnt(0)4872; GFX10-FLATSCR-PAL-NEXT:    s_and_b32 s1, s1, 0xffff4873; GFX10-FLATSCR-PAL-NEXT:    s_add_u32 s0, s0, s54874; GFX10-FLATSCR-PAL-NEXT:    s_addc_u32 s1, s1, 04875; GFX10-FLATSCR-PAL-NEXT:    s_setreg_b32 hwreg(HW_REG_FLAT_SCR_LO), s04876; GFX10-FLATSCR-PAL-NEXT:    s_setreg_b32 hwreg(HW_REG_FLAT_SCR_HI), s14877; GFX10-FLATSCR-PAL-NEXT:    v_lshlrev_b32_e32 v0, 2, v04878; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v1, 0xbf20e7f44879; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v27, 0x3f5f2ee24880; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v29, 0x3f3d349e4881; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v28, 0x3f523be14882; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v17, 0xbeae29dc4883; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v26, 0x3f638e374884; GFX10-FLATSCR-PAL-NEXT:    v_and_b32_e32 v0, 0x1fc, v04885; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[1:4], off offset:3204886; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v2, v294887; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v3, v284888; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v4, v274889; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v22, 0xbf5f2ee34890; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v19, 0xbefcd89f4891; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v20, 0xbefcd8a34892; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v18, v174893; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v11, 0xbf3d349e4894; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v12, 0xbf20e7f54895; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v13, 0x3efcd89f4896; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v14, 0x3efcd89c4897; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v25, 0xbf523be34898; GFX10-FLATSCR-PAL-NEXT:    v_add_nc_u32_e32 v34, 0x200, v04899; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v5, v04900; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[26:29], off offset:3044901; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[1:4], off offset:2884902; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[17:20], off offset:2724903; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v0, 0xb702e7584904; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v1, 0xb70435194905; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v2, 0xbe31934f4906; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v3, 0xbe3193564907; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v6, 0x3eae29dc4908; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v7, 0x3eae29d84909; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v8, 0x3e3193564910; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v9, 0x3e31934f4911; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v23, 0xbf638e394912; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v24, v224913; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[11:14], off offset:2244914; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f54915; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v15, v114916; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v16, v254917; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[0:3], off offset:2564918; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[6:9], off offset:2404919; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[22:25], off offset:2084920; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[13:16], off offset:1924921; GFX10-FLATSCR-PAL-NEXT:    scratch_load_dword v1, v5, off4922; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v30, 0xbf523be14923; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v33, 0x3f3d349c4924; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v31, v284925; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v32, v114926; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v7, 0x3703c4994927; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v16, v294928; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v0, 0x3f20e7f44929; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v9, v64930; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v10, v134931; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v18, v124932; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v20, v174933; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v21, v34934; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v24, v264935; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v25, v224936; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v26, v274937; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[30:33], off offset:7844938; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v32, 0xbf5f2ee24939; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v33, v274940; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v4, v74941; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v5, v84942; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[13:16], off offset:7364943; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v13, v194944; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v14, v174945; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[7:10], off offset:8164946; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[18:21], off offset:8004947; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[23:26], off offset:7684948; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[30:33], off offset:7524949; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[3:6], off offset:7204950; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[11:14], off offset:7044951; GFX10-FLATSCR-PAL-NEXT:    s_waitcnt vmcnt(0)4952; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[0:3], off offset:8324953; GFX10-FLATSCR-PAL-NEXT:    scratch_load_dword v0, v34, off4954; GFX10-FLATSCR-PAL-NEXT:    s_waitcnt vmcnt(0)4955; GFX10-FLATSCR-PAL-NEXT:    v_add_f32_e32 v0, v1, v04956; GFX10-FLATSCR-PAL-NEXT:    ; return to shader part epilog4957;4958; GFX11-FLATSCR-LABEL: gs_main:4959; GFX11-FLATSCR:       ; %bb.0:4960; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v21, 0xbf5f2ee34961; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v1, 0xbf20e7f4 :: v_dual_lshlrev_b32 v0, 2, v04962; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v28, 0x3f3d349e4963; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v7, 0x3eae29d84964; GFX11-FLATSCR-NEXT:    s_delay_alu instid0(VALU_DEP_4)4965; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v23, v214966; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v27, 0x3f523be14967; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[1:4], off offset:3204968; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v2, v284969; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v26, 0x3f5f2ee24970; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v19, 0xbefcd89f :: v_dual_mov_b32 v30, v274971; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v3, v274972; GFX11-FLATSCR-NEXT:    s_delay_alu instid0(VALU_DEP_3)4973; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v25, 0x3f638e37 :: v_dual_mov_b32 v4, v264974; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v24, 0xbf523be34975; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v17, 0xbeae29dc4976; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v11, 0xbf3d349e4977; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v6, 0x3eae29dc4978; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v8, 0x3e3193564979; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v9, 0x3e31934f4980; GFX11-FLATSCR-NEXT:    s_clause 0x14981; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[25:28], off offset:3044982; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[1:4], off offset:2884983; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v12, 0xbf20e7f54984; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v13, 0x3efcd89f :: v_dual_mov_b32 v16, v244985; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v3, 0xbe3193564986; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v14, 0x3efcd89c4987; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v18, v17 :: v_dual_and_b32 v33, 0x1fc, v04988; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v20, 0xbefcd8a3 :: v_dual_mov_b32 v15, v114989; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v1, 0xb7043519 :: v_dual_mov_b32 v10, v134990; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v2, 0xbe31934f :: v_dual_mov_b32 v31, v114991; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v0, 0xb702e7584992; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v22, 0xbf638e394993; GFX11-FLATSCR-NEXT:    s_clause 0x14994; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[6:9], off offset:2404995; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[11:14], off offset:2244996; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v14, 0x3f20e7f5 :: v_dual_mov_b32 v9, v64997; GFX11-FLATSCR-NEXT:    s_clause 0x34998; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[17:20], off offset:2724999; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[0:3], off offset:2565000; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[21:24], off offset:2085001; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[13:16], off offset:1925002; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v4, 0x3f20e7f45003; GFX11-FLATSCR-NEXT:    scratch_load_b32 v0, v33, off5004; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v29, 0xbf523be15005; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v32, 0x3f3d349c5006; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v24, v215007; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[4:7], off offset:8325008; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v7, 0x3703c499 :: v_dual_mov_b32 v16, v285009; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[29:32], off offset:7845010; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v31, 0xbf5f2ee2 :: v_dual_mov_b32 v32, v265011; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v23, v255012; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v25, v26 :: v_dual_mov_b32 v18, v125013; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v20, v17 :: v_dual_mov_b32 v21, v35014; GFX11-FLATSCR-NEXT:    s_clause 0x15015; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[29:32], off offset:7525016; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[13:16], off offset:7365017; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v5, v8 :: v_dual_mov_b32 v14, v175018; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v4, v75019; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v13, v195020; GFX11-FLATSCR-NEXT:    s_clause 0x45021; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[7:10], off offset:8165022; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[18:21], off offset:8005023; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[22:25], off offset:7685024; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[3:6], off offset:7205025; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[11:14], off offset:7045026; GFX11-FLATSCR-NEXT:    scratch_load_b32 v1, v33, off offset:5125027; GFX11-FLATSCR-NEXT:    s_waitcnt vmcnt(0)5028; GFX11-FLATSCR-NEXT:    v_add_f32_e32 v0, v0, v15029; GFX11-FLATSCR-NEXT:    ; return to shader part epilog5030  %v1 = extractelement <81 x float> <float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float 0x3FE41CFEA0000000, float 0xBFE7A693C0000000, float 0xBFEA477C60000000, float 0xBFEBE5DC60000000, float 0xBFEC71C720000000, float 0xBFEBE5DC60000000, float 0xBFEA477C60000000, float 0xBFE7A693C0000000, float 0xBFE41CFEA0000000, float 0x3FDF9B13E0000000, float 0x3FDF9B1380000000, float 0x3FD5C53B80000000, float 0x3FD5C53B00000000, float 0x3FC6326AC0000000, float 0x3FC63269E0000000, float 0xBEE05CEB00000000, float 0xBEE086A320000000, float 0xBFC63269E0000000, float 0xBFC6326AC0000000, float 0xBFD5C53B80000000, float 0xBFD5C53B80000000, float 0xBFDF9B13E0000000, float 0xBFDF9B1460000000, float 0xBFE41CFE80000000, float 0x3FE7A693C0000000, float 0x3FEA477C20000000, float 0x3FEBE5DC40000000, float 0x3FEC71C6E0000000, float 0x3FEBE5DC40000000, float 0x3FEA477C20000000, float 0x3FE7A693C0000000, float 0xBFE41CFE80000000>, i32 %idx5031  %v2 = extractelement <81 x float> <float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float 0xBFE41CFEA0000000, float 0xBFDF9B13E0000000, float 0xBFD5C53B80000000, float 0xBFC6326AC0000000, float 0x3EE0789320000000, float 0x3FC6326AC0000000, float 0x3FD5C53B80000000, float 0x3FDF9B13E0000000, float 0x3FE41CFEA0000000, float 0xBFE7A693C0000000, float 0x3FE7A693C0000000, float 0xBFEA477C20000000, float 0x3FEA477C20000000, float 0xBFEBE5DC40000000, float 0x3FEBE5DC40000000, float 0xBFEC71C720000000, float 0x3FEC71C6E0000000, float 0xBFEBE5DC60000000, float 0x3FEBE5DC40000000, float 0xBFEA477C20000000, float 0x3FEA477C20000000, float 0xBFE7A693C0000000, float 0x3FE7A69380000000, float 0xBFE41CFEA0000000, float 0xBFDF9B13E0000000, float 0xBFD5C53B80000000, float 0xBFC6326AC0000000, float 0x3EE0789320000000, float 0x3FC6326AC0000000, float 0x3FD5C53B80000000, float 0x3FDF9B13E0000000, float 0x3FE41CFE80000000>, i32 %idx5032  %r = fadd float %v1, %v25033  ret float %r5034}5035 5036; Mesa GS and HS shaders have the preloaded scratch wave offset SGPR fixed at5037; SGPR5, and the inreg implementation is used to reference it in the IR. The5038; following tests confirm the shader and anything inserted after the return5039; (i.e. SI_RETURN_TO_EPILOG) can access the scratch wave offset.5040define amdgpu_hs <{i32, i32, i32, float}> @hs_ir_uses_scratch_offset(i32 inreg, i32 inreg, i32 inreg, i32 inreg, i32 inreg, i32 inreg %swo, i32 %idx) {5041; SI-LABEL: hs_ir_uses_scratch_offset:5042; SI:       ; %bb.0:5043; SI-NEXT:    s_mov_b32 s8, SCRATCH_RSRC_DWORD05044; SI-NEXT:    s_mov_b32 s9, SCRATCH_RSRC_DWORD15045; SI-NEXT:    s_mov_b32 s10, -15046; SI-NEXT:    s_mov_b32 s11, 0xe8f0005047; SI-NEXT:    s_add_u32 s8, s8, s65048; SI-NEXT:    s_addc_u32 s9, s9, 05049; SI-NEXT:    v_mov_b32_e32 v9, 0xbe31934f5050; SI-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:2645051; SI-NEXT:    s_waitcnt expcnt(0)5052; SI-NEXT:    v_mov_b32_e32 v9, 0xb70435195053; SI-NEXT:    v_mov_b32_e32 v2, 0xbf20e7f45054; SI-NEXT:    v_mov_b32_e32 v6, 0x3f638e375055; SI-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:2605056; SI-NEXT:    s_waitcnt expcnt(0)5057; SI-NEXT:    v_mov_b32_e32 v9, 0xb702e7585058; SI-NEXT:    v_lshlrev_b32_e32 v0, 2, v05059; SI-NEXT:    buffer_store_dword v2, off, s[8:11], 0 offset:3205060; SI-NEXT:    v_mov_b32_e32 v3, 0x3f3d349e5061; SI-NEXT:    v_mov_b32_e32 v4, 0x3f523be15062; SI-NEXT:    v_mov_b32_e32 v5, 0x3f5f2ee25063; SI-NEXT:    buffer_store_dword v6, off, s[8:11], 0 offset:3045064; SI-NEXT:    buffer_store_dword v5, off, s[8:11], 0 offset:3005065; SI-NEXT:    buffer_store_dword v4, off, s[8:11], 0 offset:2965066; SI-NEXT:    buffer_store_dword v3, off, s[8:11], 0 offset:2925067; SI-NEXT:    buffer_store_dword v2, off, s[8:11], 0 offset:2885068; SI-NEXT:    s_waitcnt expcnt(0)5069; SI-NEXT:    v_mov_b32_e32 v2, 0xbefcd8a35070; SI-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:2565071; SI-NEXT:    s_waitcnt expcnt(0)5072; SI-NEXT:    v_mov_b32_e32 v9, 0x3e31934f5073; SI-NEXT:    v_mov_b32_e32 v10, 0x3eae29d85074; SI-NEXT:    v_mov_b32_e32 v11, 0x3efcd89c5075; SI-NEXT:    v_mov_b32_e32 v14, 0xbf523be35076; SI-NEXT:    v_mov_b32_e32 v16, 0xbf638e395077; SI-NEXT:    v_and_b32_e32 v0, 0x1fc, v05078; SI-NEXT:    s_mov_b32 s0, 05079; SI-NEXT:    buffer_store_dword v2, off, s[8:11], 0 offset:2845080; SI-NEXT:    s_waitcnt expcnt(0)5081; SI-NEXT:    v_mov_b32_e32 v2, 0xbefcd89f5082; SI-NEXT:    v_mov_b32_e32 v7, 0xbeae29dc5083; SI-NEXT:    v_mov_b32_e32 v8, 0xbe3193565084; SI-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:2525085; SI-NEXT:    s_waitcnt expcnt(0)5086; SI-NEXT:    v_mov_b32_e32 v9, 0x3e3193565087; SI-NEXT:    buffer_store_dword v10, off, s[8:11], 0 offset:2445088; SI-NEXT:    s_waitcnt expcnt(0)5089; SI-NEXT:    v_mov_b32_e32 v10, 0x3eae29dc5090; SI-NEXT:    buffer_store_dword v11, off, s[8:11], 0 offset:2365091; SI-NEXT:    s_waitcnt expcnt(0)5092; SI-NEXT:    v_mov_b32_e32 v11, 0x3efcd89f5093; SI-NEXT:    v_mov_b32_e32 v12, 0xbf20e7f55094; SI-NEXT:    v_mov_b32_e32 v13, 0xbf3d349e5095; SI-NEXT:    buffer_store_dword v14, off, s[8:11], 0 offset:2205096; SI-NEXT:    v_mov_b32_e32 v15, 0xbf5f2ee35097; SI-NEXT:    buffer_store_dword v16, off, s[8:11], 0 offset:2125098; SI-NEXT:    buffer_store_dword v15, off, s[8:11], 0 offset:2085099; SI-NEXT:    buffer_store_dword v14, off, s[8:11], 0 offset:2045100; SI-NEXT:    buffer_store_dword v13, off, s[8:11], 0 offset:2005101; SI-NEXT:    s_waitcnt expcnt(1)5102; SI-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f55103; SI-NEXT:    v_add_i32_e32 v1, vcc, 0x200, v05104; SI-NEXT:    v_add_i32_e32 v0, vcc, s0, v05105; SI-NEXT:    buffer_store_dword v3, off, s[8:11], 0 offset:3165106; SI-NEXT:    buffer_store_dword v4, off, s[8:11], 0 offset:3125107; SI-NEXT:    buffer_store_dword v5, off, s[8:11], 0 offset:3085108; SI-NEXT:    buffer_store_dword v2, off, s[8:11], 0 offset:2805109; SI-NEXT:    buffer_store_dword v7, off, s[8:11], 0 offset:2765110; SI-NEXT:    buffer_store_dword v7, off, s[8:11], 0 offset:2725111; SI-NEXT:    buffer_store_dword v8, off, s[8:11], 0 offset:2685112; SI-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:2485113; SI-NEXT:    buffer_store_dword v10, off, s[8:11], 0 offset:2405114; SI-NEXT:    buffer_store_dword v11, off, s[8:11], 0 offset:2325115; SI-NEXT:    buffer_store_dword v12, off, s[8:11], 0 offset:2285116; SI-NEXT:    buffer_store_dword v13, off, s[8:11], 0 offset:2245117; SI-NEXT:    buffer_store_dword v15, off, s[8:11], 0 offset:2165118; SI-NEXT:    buffer_store_dword v14, off, s[8:11], 0 offset:1965119; SI-NEXT:    v_mov_b32_e32 v17, 0x3f20e7f45120; SI-NEXT:    v_mov_b32_e32 v18, 0x3f3d349c5121; SI-NEXT:    buffer_load_dword v0, v0, s[8:11], 0 offen5122; SI-NEXT:    buffer_store_dword v17, off, s[8:11], 0 offset:8325123; SI-NEXT:    buffer_store_dword v11, off, s[8:11], 0 offset:8285124; SI-NEXT:    buffer_store_dword v10, off, s[8:11], 0 offset:8245125; SI-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:8205126; SI-NEXT:    s_waitcnt expcnt(3)5127; SI-NEXT:    v_mov_b32_e32 v17, 0x3703c4995128; SI-NEXT:    buffer_store_dword v18, off, s[8:11], 0 offset:7965129; SI-NEXT:    buffer_store_dword v13, off, s[8:11], 0 offset:7925130; SI-NEXT:    buffer_store_dword v4, off, s[8:11], 0 offset:7885131; SI-NEXT:    s_waitcnt expcnt(2)5132; SI-NEXT:    v_mov_b32_e32 v18, 0xbf523be15133; SI-NEXT:    buffer_store_dword v17, off, s[8:11], 0 offset:8165134; SI-NEXT:    buffer_store_dword v8, off, s[8:11], 0 offset:8125135; SI-NEXT:    buffer_store_dword v7, off, s[8:11], 0 offset:8085136; SI-NEXT:    buffer_store_dword v2, off, s[8:11], 0 offset:8045137; SI-NEXT:    buffer_store_dword v12, off, s[8:11], 0 offset:8005138; SI-NEXT:    buffer_store_dword v18, off, s[8:11], 0 offset:7845139; SI-NEXT:    buffer_store_dword v5, off, s[8:11], 0 offset:7805140; SI-NEXT:    buffer_store_dword v15, off, s[8:11], 0 offset:7765141; SI-NEXT:    buffer_store_dword v6, off, s[8:11], 0 offset:7725142; SI-NEXT:    buffer_store_dword v16, off, s[8:11], 0 offset:7685143; SI-NEXT:    buffer_store_dword v5, off, s[8:11], 0 offset:7645144; SI-NEXT:    s_waitcnt expcnt(0)5145; SI-NEXT:    v_mov_b32_e32 v5, 0xbf5f2ee25146; SI-NEXT:    buffer_store_dword v5, off, s[8:11], 0 offset:7605147; SI-NEXT:    buffer_store_dword v4, off, s[8:11], 0 offset:7565148; SI-NEXT:    buffer_store_dword v18, off, s[8:11], 0 offset:7525149; SI-NEXT:    buffer_store_dword v3, off, s[8:11], 0 offset:7485150; SI-NEXT:    buffer_store_dword v13, off, s[8:11], 0 offset:7445151; SI-NEXT:    buffer_store_dword v14, off, s[8:11], 0 offset:7405152; SI-NEXT:    buffer_store_dword v11, off, s[8:11], 0 offset:7365153; SI-NEXT:    buffer_store_dword v10, off, s[8:11], 0 offset:7325154; SI-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:7285155; SI-NEXT:    buffer_store_dword v17, off, s[8:11], 0 offset:7245156; SI-NEXT:    buffer_store_dword v8, off, s[8:11], 0 offset:7205157; SI-NEXT:    buffer_store_dword v7, off, s[8:11], 0 offset:7165158; SI-NEXT:    buffer_store_dword v2, off, s[8:11], 0 offset:7125159; SI-NEXT:    buffer_store_dword v12, off, s[8:11], 0 offset:7085160; SI-NEXT:    buffer_load_dword v1, v1, s[8:11], 0 offen5161; SI-NEXT:    s_mov_b32 s2, s55162; SI-NEXT:    s_waitcnt vmcnt(0)5163; SI-NEXT:    v_add_f32_e32 v0, v0, v15164; SI-NEXT:    s_waitcnt expcnt(0)5165; SI-NEXT:    ; return to shader part epilog5166;5167; VI-LABEL: hs_ir_uses_scratch_offset:5168; VI:       ; %bb.0:5169; VI-NEXT:    s_mov_b32 s8, SCRATCH_RSRC_DWORD05170; VI-NEXT:    s_mov_b32 s9, SCRATCH_RSRC_DWORD15171; VI-NEXT:    s_mov_b32 s10, -15172; VI-NEXT:    s_mov_b32 s11, 0xe800005173; VI-NEXT:    s_add_u32 s8, s8, s65174; VI-NEXT:    s_addc_u32 s9, s9, 05175; VI-NEXT:    v_mov_b32_e32 v9, 0xbe31934f5176; VI-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:2645177; VI-NEXT:    v_mov_b32_e32 v9, 0xb70435195178; VI-NEXT:    v_mov_b32_e32 v2, 0xbf20e7f45179; VI-NEXT:    v_mov_b32_e32 v6, 0x3f638e375180; VI-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:2605181; VI-NEXT:    v_mov_b32_e32 v9, 0xb702e7585182; VI-NEXT:    v_lshlrev_b32_e32 v0, 2, v05183; VI-NEXT:    buffer_store_dword v2, off, s[8:11], 0 offset:3205184; VI-NEXT:    v_mov_b32_e32 v3, 0x3f3d349e5185; VI-NEXT:    v_mov_b32_e32 v4, 0x3f523be15186; VI-NEXT:    v_mov_b32_e32 v5, 0x3f5f2ee25187; VI-NEXT:    buffer_store_dword v6, off, s[8:11], 0 offset:3045188; VI-NEXT:    buffer_store_dword v5, off, s[8:11], 0 offset:3005189; VI-NEXT:    buffer_store_dword v4, off, s[8:11], 0 offset:2965190; VI-NEXT:    buffer_store_dword v3, off, s[8:11], 0 offset:2925191; VI-NEXT:    buffer_store_dword v2, off, s[8:11], 0 offset:2885192; VI-NEXT:    v_mov_b32_e32 v2, 0xbefcd8a35193; VI-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:2565194; VI-NEXT:    v_mov_b32_e32 v9, 0x3e31934f5195; VI-NEXT:    v_mov_b32_e32 v10, 0x3eae29d85196; VI-NEXT:    v_mov_b32_e32 v11, 0x3efcd89c5197; VI-NEXT:    v_mov_b32_e32 v14, 0xbf523be35198; VI-NEXT:    v_mov_b32_e32 v16, 0xbf638e395199; VI-NEXT:    v_and_b32_e32 v0, 0x1fc, v05200; VI-NEXT:    s_mov_b32 s0, 05201; VI-NEXT:    buffer_store_dword v2, off, s[8:11], 0 offset:2845202; VI-NEXT:    v_mov_b32_e32 v2, 0xbefcd89f5203; VI-NEXT:    v_mov_b32_e32 v7, 0xbeae29dc5204; VI-NEXT:    v_mov_b32_e32 v8, 0xbe3193565205; VI-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:2525206; VI-NEXT:    v_mov_b32_e32 v9, 0x3e3193565207; VI-NEXT:    buffer_store_dword v10, off, s[8:11], 0 offset:2445208; VI-NEXT:    v_mov_b32_e32 v10, 0x3eae29dc5209; VI-NEXT:    buffer_store_dword v11, off, s[8:11], 0 offset:2365210; VI-NEXT:    v_mov_b32_e32 v11, 0x3efcd89f5211; VI-NEXT:    v_mov_b32_e32 v12, 0xbf20e7f55212; VI-NEXT:    v_mov_b32_e32 v13, 0xbf3d349e5213; VI-NEXT:    buffer_store_dword v14, off, s[8:11], 0 offset:2205214; VI-NEXT:    v_mov_b32_e32 v15, 0xbf5f2ee35215; VI-NEXT:    buffer_store_dword v16, off, s[8:11], 0 offset:2125216; VI-NEXT:    buffer_store_dword v15, off, s[8:11], 0 offset:2085217; VI-NEXT:    buffer_store_dword v14, off, s[8:11], 0 offset:2045218; VI-NEXT:    buffer_store_dword v13, off, s[8:11], 0 offset:2005219; VI-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f55220; VI-NEXT:    v_add_u32_e32 v1, vcc, 0x200, v05221; VI-NEXT:    v_add_u32_e32 v0, vcc, s0, v05222; VI-NEXT:    buffer_store_dword v3, off, s[8:11], 0 offset:3165223; VI-NEXT:    buffer_store_dword v4, off, s[8:11], 0 offset:3125224; VI-NEXT:    buffer_store_dword v5, off, s[8:11], 0 offset:3085225; VI-NEXT:    buffer_store_dword v2, off, s[8:11], 0 offset:2805226; VI-NEXT:    buffer_store_dword v7, off, s[8:11], 0 offset:2765227; VI-NEXT:    buffer_store_dword v7, off, s[8:11], 0 offset:2725228; VI-NEXT:    buffer_store_dword v8, off, s[8:11], 0 offset:2685229; VI-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:2485230; VI-NEXT:    buffer_store_dword v10, off, s[8:11], 0 offset:2405231; VI-NEXT:    buffer_store_dword v11, off, s[8:11], 0 offset:2325232; VI-NEXT:    buffer_store_dword v12, off, s[8:11], 0 offset:2285233; VI-NEXT:    buffer_store_dword v13, off, s[8:11], 0 offset:2245234; VI-NEXT:    buffer_store_dword v15, off, s[8:11], 0 offset:2165235; VI-NEXT:    buffer_store_dword v14, off, s[8:11], 0 offset:1965236; VI-NEXT:    v_mov_b32_e32 v17, 0x3f20e7f45237; VI-NEXT:    v_mov_b32_e32 v18, 0x3f3d349c5238; VI-NEXT:    buffer_load_dword v0, v0, s[8:11], 0 offen5239; VI-NEXT:    buffer_store_dword v17, off, s[8:11], 0 offset:8325240; VI-NEXT:    buffer_store_dword v11, off, s[8:11], 0 offset:8285241; VI-NEXT:    buffer_store_dword v10, off, s[8:11], 0 offset:8245242; VI-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:8205243; VI-NEXT:    v_mov_b32_e32 v17, 0x3703c4995244; VI-NEXT:    buffer_store_dword v18, off, s[8:11], 0 offset:7965245; VI-NEXT:    buffer_store_dword v13, off, s[8:11], 0 offset:7925246; VI-NEXT:    buffer_store_dword v4, off, s[8:11], 0 offset:7885247; VI-NEXT:    v_mov_b32_e32 v18, 0xbf523be15248; VI-NEXT:    buffer_store_dword v17, off, s[8:11], 0 offset:8165249; VI-NEXT:    buffer_store_dword v8, off, s[8:11], 0 offset:8125250; VI-NEXT:    buffer_store_dword v7, off, s[8:11], 0 offset:8085251; VI-NEXT:    buffer_store_dword v2, off, s[8:11], 0 offset:8045252; VI-NEXT:    buffer_store_dword v12, off, s[8:11], 0 offset:8005253; VI-NEXT:    buffer_store_dword v18, off, s[8:11], 0 offset:7845254; VI-NEXT:    buffer_store_dword v5, off, s[8:11], 0 offset:7805255; VI-NEXT:    buffer_store_dword v15, off, s[8:11], 0 offset:7765256; VI-NEXT:    buffer_store_dword v6, off, s[8:11], 0 offset:7725257; VI-NEXT:    buffer_store_dword v16, off, s[8:11], 0 offset:7685258; VI-NEXT:    buffer_store_dword v5, off, s[8:11], 0 offset:7645259; VI-NEXT:    v_mov_b32_e32 v5, 0xbf5f2ee25260; VI-NEXT:    buffer_store_dword v5, off, s[8:11], 0 offset:7605261; VI-NEXT:    buffer_store_dword v4, off, s[8:11], 0 offset:7565262; VI-NEXT:    buffer_store_dword v18, off, s[8:11], 0 offset:7525263; VI-NEXT:    buffer_store_dword v3, off, s[8:11], 0 offset:7485264; VI-NEXT:    buffer_store_dword v13, off, s[8:11], 0 offset:7445265; VI-NEXT:    buffer_store_dword v14, off, s[8:11], 0 offset:7405266; VI-NEXT:    buffer_store_dword v11, off, s[8:11], 0 offset:7365267; VI-NEXT:    buffer_store_dword v10, off, s[8:11], 0 offset:7325268; VI-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:7285269; VI-NEXT:    buffer_store_dword v17, off, s[8:11], 0 offset:7245270; VI-NEXT:    buffer_store_dword v8, off, s[8:11], 0 offset:7205271; VI-NEXT:    buffer_store_dword v7, off, s[8:11], 0 offset:7165272; VI-NEXT:    buffer_store_dword v2, off, s[8:11], 0 offset:7125273; VI-NEXT:    buffer_store_dword v12, off, s[8:11], 0 offset:7085274; VI-NEXT:    buffer_load_dword v1, v1, s[8:11], 0 offen5275; VI-NEXT:    s_mov_b32 s2, s55276; VI-NEXT:    s_waitcnt vmcnt(0)5277; VI-NEXT:    v_add_f32_e32 v0, v0, v15278; VI-NEXT:    ; return to shader part epilog5279;5280; GFX9-MUBUF-LABEL: hs_ir_uses_scratch_offset:5281; GFX9-MUBUF:       ; %bb.0:5282; GFX9-MUBUF-NEXT:    s_mov_b32 s8, SCRATCH_RSRC_DWORD05283; GFX9-MUBUF-NEXT:    s_mov_b32 s9, SCRATCH_RSRC_DWORD15284; GFX9-MUBUF-NEXT:    s_mov_b32 s10, -15285; GFX9-MUBUF-NEXT:    s_mov_b32 s11, 0xe000005286; GFX9-MUBUF-NEXT:    s_add_u32 s8, s8, s55287; GFX9-MUBUF-NEXT:    s_addc_u32 s9, s9, 05288; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v9, 0xbe31934f5289; GFX9-MUBUF-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:2645290; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v9, 0xb70435195291; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v2, 0xbf20e7f45292; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v6, 0x3f638e375293; GFX9-MUBUF-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:2605294; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v9, 0xb702e7585295; GFX9-MUBUF-NEXT:    buffer_store_dword v2, off, s[8:11], 0 offset:3205296; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v3, 0x3f3d349e5297; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v4, 0x3f523be15298; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v5, 0x3f5f2ee25299; GFX9-MUBUF-NEXT:    buffer_store_dword v6, off, s[8:11], 0 offset:3045300; GFX9-MUBUF-NEXT:    buffer_store_dword v5, off, s[8:11], 0 offset:3005301; GFX9-MUBUF-NEXT:    buffer_store_dword v4, off, s[8:11], 0 offset:2965302; GFX9-MUBUF-NEXT:    buffer_store_dword v3, off, s[8:11], 0 offset:2925303; GFX9-MUBUF-NEXT:    buffer_store_dword v2, off, s[8:11], 0 offset:2885304; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v2, 0xbefcd8a35305; GFX9-MUBUF-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:2565306; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v9, 0x3e31934f5307; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v10, 0x3eae29d85308; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v11, 0x3efcd89c5309; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v14, 0xbf523be35310; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v16, 0xbf638e395311; GFX9-MUBUF-NEXT:    v_lshlrev_b32_e32 v0, 2, v05312; GFX9-MUBUF-NEXT:    buffer_store_dword v2, off, s[8:11], 0 offset:2845313; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v2, 0xbefcd89f5314; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v7, 0xbeae29dc5315; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v8, 0xbe3193565316; GFX9-MUBUF-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:2525317; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v9, 0x3e3193565318; GFX9-MUBUF-NEXT:    buffer_store_dword v10, off, s[8:11], 0 offset:2445319; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v10, 0x3eae29dc5320; GFX9-MUBUF-NEXT:    buffer_store_dword v11, off, s[8:11], 0 offset:2365321; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v11, 0x3efcd89f5322; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v12, 0xbf20e7f55323; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v13, 0xbf3d349e5324; GFX9-MUBUF-NEXT:    buffer_store_dword v14, off, s[8:11], 0 offset:2205325; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v15, 0xbf5f2ee35326; GFX9-MUBUF-NEXT:    buffer_store_dword v16, off, s[8:11], 0 offset:2125327; GFX9-MUBUF-NEXT:    buffer_store_dword v15, off, s[8:11], 0 offset:2085328; GFX9-MUBUF-NEXT:    buffer_store_dword v14, off, s[8:11], 0 offset:2045329; GFX9-MUBUF-NEXT:    buffer_store_dword v13, off, s[8:11], 0 offset:2005330; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f55331; GFX9-MUBUF-NEXT:    v_and_b32_e32 v0, 0x1fc, v05332; GFX9-MUBUF-NEXT:    buffer_store_dword v3, off, s[8:11], 0 offset:3165333; GFX9-MUBUF-NEXT:    buffer_store_dword v4, off, s[8:11], 0 offset:3125334; GFX9-MUBUF-NEXT:    buffer_store_dword v5, off, s[8:11], 0 offset:3085335; GFX9-MUBUF-NEXT:    buffer_store_dword v2, off, s[8:11], 0 offset:2805336; GFX9-MUBUF-NEXT:    buffer_store_dword v7, off, s[8:11], 0 offset:2765337; GFX9-MUBUF-NEXT:    buffer_store_dword v7, off, s[8:11], 0 offset:2725338; GFX9-MUBUF-NEXT:    buffer_store_dword v8, off, s[8:11], 0 offset:2685339; GFX9-MUBUF-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:2485340; GFX9-MUBUF-NEXT:    buffer_store_dword v10, off, s[8:11], 0 offset:2405341; GFX9-MUBUF-NEXT:    buffer_store_dword v11, off, s[8:11], 0 offset:2325342; GFX9-MUBUF-NEXT:    buffer_store_dword v12, off, s[8:11], 0 offset:2285343; GFX9-MUBUF-NEXT:    buffer_store_dword v13, off, s[8:11], 0 offset:2245344; GFX9-MUBUF-NEXT:    buffer_store_dword v15, off, s[8:11], 0 offset:2165345; GFX9-MUBUF-NEXT:    buffer_store_dword v14, off, s[8:11], 0 offset:1965346; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v17, 0x3f20e7f45347; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v18, 0x3f3d349c5348; GFX9-MUBUF-NEXT:    v_add_u32_e32 v1, 0x200, v05349; GFX9-MUBUF-NEXT:    buffer_load_dword v0, v0, s[8:11], 0 offen5350; GFX9-MUBUF-NEXT:    s_nop 05351; GFX9-MUBUF-NEXT:    buffer_store_dword v17, off, s[8:11], 0 offset:8325352; GFX9-MUBUF-NEXT:    buffer_store_dword v11, off, s[8:11], 0 offset:8285353; GFX9-MUBUF-NEXT:    buffer_store_dword v10, off, s[8:11], 0 offset:8245354; GFX9-MUBUF-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:8205355; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v17, 0x3703c4995356; GFX9-MUBUF-NEXT:    buffer_store_dword v18, off, s[8:11], 0 offset:7965357; GFX9-MUBUF-NEXT:    buffer_store_dword v13, off, s[8:11], 0 offset:7925358; GFX9-MUBUF-NEXT:    buffer_store_dword v4, off, s[8:11], 0 offset:7885359; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v18, 0xbf523be15360; GFX9-MUBUF-NEXT:    buffer_store_dword v17, off, s[8:11], 0 offset:8165361; GFX9-MUBUF-NEXT:    buffer_store_dword v8, off, s[8:11], 0 offset:8125362; GFX9-MUBUF-NEXT:    buffer_store_dword v7, off, s[8:11], 0 offset:8085363; GFX9-MUBUF-NEXT:    buffer_store_dword v2, off, s[8:11], 0 offset:8045364; GFX9-MUBUF-NEXT:    buffer_store_dword v12, off, s[8:11], 0 offset:8005365; GFX9-MUBUF-NEXT:    buffer_store_dword v18, off, s[8:11], 0 offset:7845366; GFX9-MUBUF-NEXT:    buffer_store_dword v5, off, s[8:11], 0 offset:7805367; GFX9-MUBUF-NEXT:    buffer_store_dword v15, off, s[8:11], 0 offset:7765368; GFX9-MUBUF-NEXT:    buffer_store_dword v6, off, s[8:11], 0 offset:7725369; GFX9-MUBUF-NEXT:    buffer_store_dword v16, off, s[8:11], 0 offset:7685370; GFX9-MUBUF-NEXT:    buffer_store_dword v5, off, s[8:11], 0 offset:7645371; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v5, 0xbf5f2ee25372; GFX9-MUBUF-NEXT:    buffer_store_dword v5, off, s[8:11], 0 offset:7605373; GFX9-MUBUF-NEXT:    buffer_store_dword v4, off, s[8:11], 0 offset:7565374; GFX9-MUBUF-NEXT:    buffer_store_dword v18, off, s[8:11], 0 offset:7525375; GFX9-MUBUF-NEXT:    buffer_store_dword v3, off, s[8:11], 0 offset:7485376; GFX9-MUBUF-NEXT:    buffer_store_dword v13, off, s[8:11], 0 offset:7445377; GFX9-MUBUF-NEXT:    buffer_store_dword v14, off, s[8:11], 0 offset:7405378; GFX9-MUBUF-NEXT:    buffer_store_dword v11, off, s[8:11], 0 offset:7365379; GFX9-MUBUF-NEXT:    buffer_store_dword v10, off, s[8:11], 0 offset:7325380; GFX9-MUBUF-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:7285381; GFX9-MUBUF-NEXT:    buffer_store_dword v17, off, s[8:11], 0 offset:7245382; GFX9-MUBUF-NEXT:    buffer_store_dword v8, off, s[8:11], 0 offset:7205383; GFX9-MUBUF-NEXT:    buffer_store_dword v7, off, s[8:11], 0 offset:7165384; GFX9-MUBUF-NEXT:    buffer_store_dword v2, off, s[8:11], 0 offset:7125385; GFX9-MUBUF-NEXT:    buffer_store_dword v12, off, s[8:11], 0 offset:7085386; GFX9-MUBUF-NEXT:    buffer_load_dword v1, v1, s[8:11], 0 offen5387; GFX9-MUBUF-NEXT:    s_mov_b32 s2, s55388; GFX9-MUBUF-NEXT:    s_waitcnt vmcnt(0)5389; GFX9-MUBUF-NEXT:    v_add_f32_e32 v0, v0, v15390; GFX9-MUBUF-NEXT:    ; return to shader part epilog5391;5392; GFX10_W32-MUBUF-LABEL: hs_ir_uses_scratch_offset:5393; GFX10_W32-MUBUF:       ; %bb.0:5394; GFX10_W32-MUBUF-NEXT:    s_mov_b32 s8, SCRATCH_RSRC_DWORD05395; GFX10_W32-MUBUF-NEXT:    s_mov_b32 s9, SCRATCH_RSRC_DWORD15396; GFX10_W32-MUBUF-NEXT:    s_mov_b32 s10, -15397; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v1, 0xbf20e7f45398; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v2, 0x3f3d349e5399; GFX10_W32-MUBUF-NEXT:    s_mov_b32 s11, 0x31c160005400; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v3, 0x3f523be15401; GFX10_W32-MUBUF-NEXT:    s_add_u32 s8, s8, s55402; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v4, 0x3f5f2ee25403; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v7, 0xbefcd8a35404; GFX10_W32-MUBUF-NEXT:    s_addc_u32 s9, s9, 05405; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v5, 0x3f638e375406; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v8, 0xbefcd89f5407; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v9, 0xbeae29dc5408; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v1, off, s[8:11], 0 offset:3205409; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v2, off, s[8:11], 0 offset:3165410; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v3, off, s[8:11], 0 offset:3125411; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v4, off, s[8:11], 0 offset:3085412; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v5, off, s[8:11], 0 offset:3045413; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v2, off, s[8:11], 0 offset:2925414; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v1, off, s[8:11], 0 offset:2885415; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v7, off, s[8:11], 0 offset:2845416; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v8, off, s[8:11], 0 offset:2805417; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:2765418; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:2725419; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v1, 0xbe3193565420; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v7, 0xbe31934f5421; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v10, 0xb70435195422; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v11, 0xb702e7585423; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v12, 0x3e31934f5424; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v1, off, s[8:11], 0 offset:2685425; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v7, off, s[8:11], 0 offset:2645426; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v10, off, s[8:11], 0 offset:2605427; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v11, off, s[8:11], 0 offset:2565428; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v12, off, s[8:11], 0 offset:2525429; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v7, 0x3e3193565430; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v10, 0x3eae29d85431; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v11, 0x3eae29dc5432; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v12, 0x3efcd89c5433; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v13, 0x3efcd89f5434; GFX10_W32-MUBUF-NEXT:    v_lshlrev_b32_e32 v0, 2, v05435; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v7, off, s[8:11], 0 offset:2485436; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v10, off, s[8:11], 0 offset:2445437; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v11, off, s[8:11], 0 offset:2405438; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v12, off, s[8:11], 0 offset:2365439; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v13, off, s[8:11], 0 offset:2325440; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v10, 0xbf20e7f55441; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v15, 0xbf5f2ee35442; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v12, 0xbf3d349e5443; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v14, 0xbf523be35444; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v16, 0xbf638e395445; GFX10_W32-MUBUF-NEXT:    v_and_b32_e32 v0, 0x1fc, v05446; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v10, off, s[8:11], 0 offset:2285447; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v12, off, s[8:11], 0 offset:2245448; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v14, off, s[8:11], 0 offset:2205449; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v15, off, s[8:11], 0 offset:2165450; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v16, off, s[8:11], 0 offset:2125451; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v17, 0x3f20e7f55452; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v15, off, s[8:11], 0 offset:2085453; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v14, off, s[8:11], 0 offset:2045454; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f45455; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v4, off, s[8:11], 0 offset:3005456; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v3, off, s[8:11], 0 offset:2965457; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v12, off, s[8:11], 0 offset:2005458; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v17, off, s[8:11], 0 offset:1965459; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v18, 0x3703c4995460; GFX10_W32-MUBUF-NEXT:    v_add_nc_u32_e32 v6, 0x200, v05461; GFX10_W32-MUBUF-NEXT:    buffer_load_dword v0, v0, s[8:11], 0 offen5462; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v14, off, s[8:11], 0 offset:8325463; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v13, off, s[8:11], 0 offset:8285464; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v11, off, s[8:11], 0 offset:8245465; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v7, off, s[8:11], 0 offset:8205466; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v18, off, s[8:11], 0 offset:8165467; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v1, off, s[8:11], 0 offset:8125468; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v14, 0x3f3d349c5469; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v19, 0xbf523be15470; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v10, off, s[8:11], 0 offset:8005471; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v14, off, s[8:11], 0 offset:7965472; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v12, off, s[8:11], 0 offset:7925473; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v3, off, s[8:11], 0 offset:7885474; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v19, off, s[8:11], 0 offset:7845475; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v4, off, s[8:11], 0 offset:7805476; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v14, 0xbf5f2ee25477; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:8085478; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v8, off, s[8:11], 0 offset:8045479; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v15, off, s[8:11], 0 offset:7765480; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v5, off, s[8:11], 0 offset:7725481; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v16, off, s[8:11], 0 offset:7685482; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v4, off, s[8:11], 0 offset:7645483; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v14, off, s[8:11], 0 offset:7605484; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v3, off, s[8:11], 0 offset:7565485; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v19, off, s[8:11], 0 offset:7525486; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v2, off, s[8:11], 0 offset:7485487; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v12, off, s[8:11], 0 offset:7445488; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v17, off, s[8:11], 0 offset:7405489; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v13, off, s[8:11], 0 offset:7365490; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v11, off, s[8:11], 0 offset:7325491; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v7, off, s[8:11], 0 offset:7285492; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v18, off, s[8:11], 0 offset:7245493; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v1, off, s[8:11], 0 offset:7205494; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:7165495; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v8, off, s[8:11], 0 offset:7125496; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v10, off, s[8:11], 0 offset:7085497; GFX10_W32-MUBUF-NEXT:    buffer_load_dword v1, v6, s[8:11], 0 offen5498; GFX10_W32-MUBUF-NEXT:    s_mov_b32 s2, s55499; GFX10_W32-MUBUF-NEXT:    s_waitcnt vmcnt(0)5500; GFX10_W32-MUBUF-NEXT:    v_add_f32_e32 v0, v0, v15501; GFX10_W32-MUBUF-NEXT:    ; return to shader part epilog5502;5503; GFX10_W64-MUBUF-LABEL: hs_ir_uses_scratch_offset:5504; GFX10_W64-MUBUF:       ; %bb.0:5505; GFX10_W64-MUBUF-NEXT:    s_mov_b32 s8, SCRATCH_RSRC_DWORD05506; GFX10_W64-MUBUF-NEXT:    s_mov_b32 s9, SCRATCH_RSRC_DWORD15507; GFX10_W64-MUBUF-NEXT:    s_mov_b32 s10, -15508; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v1, 0xbf20e7f45509; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v2, 0x3f3d349e5510; GFX10_W64-MUBUF-NEXT:    s_mov_b32 s11, 0x31e160005511; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v3, 0x3f523be15512; GFX10_W64-MUBUF-NEXT:    s_add_u32 s8, s8, s55513; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v4, 0x3f5f2ee25514; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v7, 0xbefcd8a35515; GFX10_W64-MUBUF-NEXT:    s_addc_u32 s9, s9, 05516; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v5, 0x3f638e375517; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v8, 0xbefcd89f5518; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v9, 0xbeae29dc5519; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v1, off, s[8:11], 0 offset:3205520; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v2, off, s[8:11], 0 offset:3165521; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v3, off, s[8:11], 0 offset:3125522; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v4, off, s[8:11], 0 offset:3085523; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v5, off, s[8:11], 0 offset:3045524; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v2, off, s[8:11], 0 offset:2925525; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v1, off, s[8:11], 0 offset:2885526; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v7, off, s[8:11], 0 offset:2845527; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v8, off, s[8:11], 0 offset:2805528; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:2765529; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:2725530; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v1, 0xbe3193565531; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v7, 0xbe31934f5532; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v10, 0xb70435195533; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v11, 0xb702e7585534; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v12, 0x3e31934f5535; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v1, off, s[8:11], 0 offset:2685536; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v7, off, s[8:11], 0 offset:2645537; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v10, off, s[8:11], 0 offset:2605538; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v11, off, s[8:11], 0 offset:2565539; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v12, off, s[8:11], 0 offset:2525540; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v7, 0x3e3193565541; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v10, 0x3eae29d85542; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v11, 0x3eae29dc5543; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v12, 0x3efcd89c5544; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v13, 0x3efcd89f5545; GFX10_W64-MUBUF-NEXT:    v_lshlrev_b32_e32 v0, 2, v05546; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v7, off, s[8:11], 0 offset:2485547; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v10, off, s[8:11], 0 offset:2445548; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v11, off, s[8:11], 0 offset:2405549; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v12, off, s[8:11], 0 offset:2365550; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v13, off, s[8:11], 0 offset:2325551; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v10, 0xbf20e7f55552; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v15, 0xbf5f2ee35553; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v12, 0xbf3d349e5554; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v14, 0xbf523be35555; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v16, 0xbf638e395556; GFX10_W64-MUBUF-NEXT:    v_and_b32_e32 v0, 0x1fc, v05557; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v10, off, s[8:11], 0 offset:2285558; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v12, off, s[8:11], 0 offset:2245559; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v14, off, s[8:11], 0 offset:2205560; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v15, off, s[8:11], 0 offset:2165561; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v16, off, s[8:11], 0 offset:2125562; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v17, 0x3f20e7f55563; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v15, off, s[8:11], 0 offset:2085564; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v14, off, s[8:11], 0 offset:2045565; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f45566; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v4, off, s[8:11], 0 offset:3005567; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v3, off, s[8:11], 0 offset:2965568; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v12, off, s[8:11], 0 offset:2005569; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v17, off, s[8:11], 0 offset:1965570; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v18, 0x3703c4995571; GFX10_W64-MUBUF-NEXT:    v_add_nc_u32_e32 v6, 0x200, v05572; GFX10_W64-MUBUF-NEXT:    buffer_load_dword v0, v0, s[8:11], 0 offen5573; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v14, off, s[8:11], 0 offset:8325574; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v13, off, s[8:11], 0 offset:8285575; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v11, off, s[8:11], 0 offset:8245576; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v7, off, s[8:11], 0 offset:8205577; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v18, off, s[8:11], 0 offset:8165578; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v1, off, s[8:11], 0 offset:8125579; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v14, 0x3f3d349c5580; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v19, 0xbf523be15581; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v10, off, s[8:11], 0 offset:8005582; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v14, off, s[8:11], 0 offset:7965583; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v12, off, s[8:11], 0 offset:7925584; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v3, off, s[8:11], 0 offset:7885585; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v19, off, s[8:11], 0 offset:7845586; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v4, off, s[8:11], 0 offset:7805587; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v14, 0xbf5f2ee25588; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:8085589; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v8, off, s[8:11], 0 offset:8045590; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v15, off, s[8:11], 0 offset:7765591; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v5, off, s[8:11], 0 offset:7725592; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v16, off, s[8:11], 0 offset:7685593; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v4, off, s[8:11], 0 offset:7645594; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v14, off, s[8:11], 0 offset:7605595; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v3, off, s[8:11], 0 offset:7565596; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v19, off, s[8:11], 0 offset:7525597; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v2, off, s[8:11], 0 offset:7485598; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v12, off, s[8:11], 0 offset:7445599; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v17, off, s[8:11], 0 offset:7405600; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v13, off, s[8:11], 0 offset:7365601; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v11, off, s[8:11], 0 offset:7325602; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v7, off, s[8:11], 0 offset:7285603; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v18, off, s[8:11], 0 offset:7245604; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v1, off, s[8:11], 0 offset:7205605; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:7165606; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v8, off, s[8:11], 0 offset:7125607; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v10, off, s[8:11], 0 offset:7085608; GFX10_W64-MUBUF-NEXT:    buffer_load_dword v1, v6, s[8:11], 0 offen5609; GFX10_W64-MUBUF-NEXT:    s_mov_b32 s2, s55610; GFX10_W64-MUBUF-NEXT:    s_waitcnt vmcnt(0)5611; GFX10_W64-MUBUF-NEXT:    v_add_f32_e32 v0, v0, v15612; GFX10_W64-MUBUF-NEXT:    ; return to shader part epilog5613;5614; GFX9-FLATSCR-LABEL: hs_ir_uses_scratch_offset:5615; GFX9-FLATSCR:       ; %bb.0:5616; GFX9-FLATSCR-NEXT:    s_add_u32 flat_scratch_lo, s0, s55617; GFX9-FLATSCR-NEXT:    v_lshlrev_b32_e32 v0, 2, v05618; GFX9-FLATSCR-NEXT:    s_addc_u32 flat_scratch_hi, s1, 05619; GFX9-FLATSCR-NEXT:    v_and_b32_e32 v30, 0x1fc, v05620; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v0, 0xbf20e7f45621; GFX9-FLATSCR-NEXT:    s_mov_b32 s0, 05622; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v27, 0x3f5f2ee25623; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v28, 0x3f523be15624; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v29, 0x3f3d349e5625; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:3205626; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v17, 0xbeae29dc5627; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v1, v295628; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v2, v285629; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v3, v275630; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v11, 0xbf3d349e5631; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v12, 0xbf20e7f55632; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v13, 0x3efcd89f5633; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v14, 0x3efcd89c5634; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v22, 0xbf5f2ee35635; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v25, 0xbf523be35636; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v26, 0x3f638e375637; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:2885638; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v19, 0xbefcd89f5639; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v20, 0xbefcd8a35640; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v18, v175641; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v0, 0xb702e7585642; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v1, 0xb70435195643; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v2, 0xbe31934f5644; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v3, 0xbe3193565645; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v6, 0x3eae29dc5646; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v7, 0x3eae29d85647; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v8, 0x3e3193565648; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v9, 0x3e31934f5649; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[11:14], s0 offset:2245650; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v23, 0xbf638e395651; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v24, v225652; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f55653; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v15, v115654; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v16, v255655; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[26:29], s0 offset:3045656; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[17:20], s0 offset:2725657; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:2565658; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[6:9], s0 offset:2405659; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[22:25], s0 offset:2085660; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[13:16], s0 offset:1925661; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v0, v305662; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v7, 0x3703c4995663; GFX9-FLATSCR-NEXT:    scratch_load_dword v31, v0, off5664; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v4, v75665; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v5, v85666; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v0, 0x3f20e7f45667; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v21, v35668; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[3:6], s0 offset:7205669; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:8325670; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v16, v295671; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v0, 0xbf523be15672; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v3, 0x3f3d349c5673; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v1, v285674; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v2, v115675; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v9, v65676; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v10, v135677; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v24, v265678; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v25, v225679; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v26, v275680; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:7845681; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v18, v125682; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v2, 0xbf5f2ee25683; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v3, v275684; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v20, v175685; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[13:16], s0 offset:7365686; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[7:10], s0 offset:8165687; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v13, v195688; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v14, v175689; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[23:26], s0 offset:7685690; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:7525691; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[18:21], s0 offset:8005692; GFX9-FLATSCR-NEXT:    v_add_u32_e32 v0, 0x200, v305693; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[11:14], s0 offset:7045694; GFX9-FLATSCR-NEXT:    scratch_load_dword v0, v0, off5695; GFX9-FLATSCR-NEXT:    s_mov_b32 s2, s75696; GFX9-FLATSCR-NEXT:    s_waitcnt vmcnt(0)5697; GFX9-FLATSCR-NEXT:    v_add_f32_e32 v0, v31, v05698; GFX9-FLATSCR-NEXT:    ; return to shader part epilog5699;5700; GFX10-FLATSCR-LABEL: hs_ir_uses_scratch_offset:5701; GFX10-FLATSCR:       ; %bb.0:5702; GFX10-FLATSCR-NEXT:    s_add_u32 s0, s0, s55703; GFX10-FLATSCR-NEXT:    s_addc_u32 s1, s1, 05704; GFX10-FLATSCR-NEXT:    s_setreg_b32 hwreg(HW_REG_FLAT_SCR_LO), s05705; GFX10-FLATSCR-NEXT:    s_setreg_b32 hwreg(HW_REG_FLAT_SCR_HI), s15706; GFX10-FLATSCR-NEXT:    v_lshlrev_b32_e32 v0, 2, v05707; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v1, 0xbf20e7f45708; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v29, 0x3f3d349e5709; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v27, 0x3f5f2ee25710; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v28, 0x3f523be15711; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v17, 0xbeae29dc5712; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v26, 0x3f638e375713; GFX10-FLATSCR-NEXT:    v_and_b32_e32 v0, 0x1fc, v05714; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[1:4], off offset:3205715; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v2, v295716; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v3, v285717; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v4, v275718; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v22, 0xbf5f2ee35719; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v19, 0xbefcd89f5720; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v20, 0xbefcd8a35721; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v18, v175722; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v11, 0xbf3d349e5723; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v12, 0xbf20e7f55724; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v13, 0x3efcd89f5725; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v14, 0x3efcd89c5726; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v25, 0xbf523be35727; GFX10-FLATSCR-NEXT:    v_add_nc_u32_e32 v34, 0x200, v05728; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v5, v05729; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[26:29], off offset:3045730; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[1:4], off offset:2885731; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[17:20], off offset:2725732; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v0, 0xb702e7585733; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v1, 0xb70435195734; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v2, 0xbe31934f5735; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v3, 0xbe3193565736; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v6, 0x3eae29dc5737; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v7, 0x3eae29d85738; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v8, 0x3e3193565739; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v9, 0x3e31934f5740; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v23, 0xbf638e395741; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v24, v225742; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[11:14], off offset:2245743; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f55744; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v15, v115745; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v16, v255746; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[0:3], off offset:2565747; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[6:9], off offset:2405748; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[22:25], off offset:2085749; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[13:16], off offset:1925750; GFX10-FLATSCR-NEXT:    scratch_load_dword v1, v5, off5751; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v30, 0xbf523be15752; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v33, 0x3f3d349c5753; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v31, v285754; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v32, v115755; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v7, 0x3703c4995756; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v16, v295757; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v0, 0x3f20e7f45758; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v9, v65759; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v10, v135760; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v18, v125761; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v20, v175762; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v21, v35763; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v24, v265764; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v25, v225765; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v26, v275766; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[30:33], off offset:7845767; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v32, 0xbf5f2ee25768; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v33, v275769; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v4, v75770; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v5, v85771; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[13:16], off offset:7365772; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v13, v195773; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v14, v175774; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[7:10], off offset:8165775; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[18:21], off offset:8005776; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[23:26], off offset:7685777; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[30:33], off offset:7525778; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[3:6], off offset:7205779; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[11:14], off offset:7045780; GFX10-FLATSCR-NEXT:    s_mov_b32 s2, s75781; GFX10-FLATSCR-NEXT:    s_waitcnt vmcnt(0)5782; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[0:3], off offset:8325783; GFX10-FLATSCR-NEXT:    scratch_load_dword v0, v34, off5784; GFX10-FLATSCR-NEXT:    s_waitcnt vmcnt(0)5785; GFX10-FLATSCR-NEXT:    v_add_f32_e32 v0, v1, v05786; GFX10-FLATSCR-NEXT:    ; return to shader part epilog5787;5788; GFX9-FLATSCR-PAL-LABEL: hs_ir_uses_scratch_offset:5789; GFX9-FLATSCR-PAL:       ; %bb.0:5790; GFX9-FLATSCR-PAL-NEXT:    s_getpc_b64 s[0:1]5791; GFX9-FLATSCR-PAL-NEXT:    s_mov_b32 s0, s85792; GFX9-FLATSCR-PAL-NEXT:    s_load_dwordx2 s[0:1], s[0:1], 0x05793; GFX9-FLATSCR-PAL-NEXT:    v_lshlrev_b32_e32 v0, 2, v05794; GFX9-FLATSCR-PAL-NEXT:    v_and_b32_e32 v30, 0x1fc, v05795; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v0, 0xbf20e7f45796; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v27, 0x3f5f2ee25797; GFX9-FLATSCR-PAL-NEXT:    s_waitcnt lgkmcnt(0)5798; GFX9-FLATSCR-PAL-NEXT:    s_and_b32 s1, s1, 0xffff5799; GFX9-FLATSCR-PAL-NEXT:    s_add_u32 flat_scratch_lo, s0, s55800; GFX9-FLATSCR-PAL-NEXT:    s_addc_u32 flat_scratch_hi, s1, 05801; GFX9-FLATSCR-PAL-NEXT:    s_mov_b32 s0, 05802; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v28, 0x3f523be15803; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v29, 0x3f3d349e5804; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:3205805; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v17, 0xbeae29dc5806; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v1, v295807; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v2, v285808; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v3, v275809; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v11, 0xbf3d349e5810; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v12, 0xbf20e7f55811; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v13, 0x3efcd89f5812; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v14, 0x3efcd89c5813; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v22, 0xbf5f2ee35814; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v25, 0xbf523be35815; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v26, 0x3f638e375816; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:2885817; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v19, 0xbefcd89f5818; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v20, 0xbefcd8a35819; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v18, v175820; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v0, 0xb702e7585821; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v1, 0xb70435195822; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v2, 0xbe31934f5823; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v3, 0xbe3193565824; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v6, 0x3eae29dc5825; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v7, 0x3eae29d85826; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v8, 0x3e3193565827; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v9, 0x3e31934f5828; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[11:14], s0 offset:2245829; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v23, 0xbf638e395830; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v24, v225831; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f55832; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v15, v115833; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v16, v255834; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[26:29], s0 offset:3045835; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[17:20], s0 offset:2725836; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:2565837; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[6:9], s0 offset:2405838; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[22:25], s0 offset:2085839; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[13:16], s0 offset:1925840; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v0, v305841; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v7, 0x3703c4995842; GFX9-FLATSCR-PAL-NEXT:    scratch_load_dword v31, v0, off5843; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v4, v75844; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v5, v85845; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v0, 0x3f20e7f45846; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v21, v35847; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[3:6], s0 offset:7205848; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:8325849; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v16, v295850; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v0, 0xbf523be15851; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v3, 0x3f3d349c5852; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v1, v285853; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v2, v115854; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v9, v65855; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v10, v135856; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v24, v265857; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v25, v225858; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v26, v275859; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:7845860; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v18, v125861; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v2, 0xbf5f2ee25862; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v3, v275863; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v20, v175864; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[13:16], s0 offset:7365865; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[7:10], s0 offset:8165866; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v13, v195867; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v14, v175868; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[23:26], s0 offset:7685869; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:7525870; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[18:21], s0 offset:8005871; GFX9-FLATSCR-PAL-NEXT:    v_add_u32_e32 v0, 0x200, v305872; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[11:14], s0 offset:7045873; GFX9-FLATSCR-PAL-NEXT:    scratch_load_dword v0, v0, off5874; GFX9-FLATSCR-PAL-NEXT:    s_mov_b32 s2, s55875; GFX9-FLATSCR-PAL-NEXT:    s_waitcnt vmcnt(0)5876; GFX9-FLATSCR-PAL-NEXT:    v_add_f32_e32 v0, v31, v05877; GFX9-FLATSCR-PAL-NEXT:    ; return to shader part epilog5878;5879; GFX10-FLATSCR-PAL-LABEL: hs_ir_uses_scratch_offset:5880; GFX10-FLATSCR-PAL:       ; %bb.0:5881; GFX10-FLATSCR-PAL-NEXT:    s_getpc_b64 s[0:1]5882; GFX10-FLATSCR-PAL-NEXT:    s_mov_b32 s0, s85883; GFX10-FLATSCR-PAL-NEXT:    s_load_dwordx2 s[0:1], s[0:1], 0x05884; GFX10-FLATSCR-PAL-NEXT:    s_waitcnt lgkmcnt(0)5885; GFX10-FLATSCR-PAL-NEXT:    s_and_b32 s1, s1, 0xffff5886; GFX10-FLATSCR-PAL-NEXT:    s_add_u32 s0, s0, s55887; GFX10-FLATSCR-PAL-NEXT:    s_addc_u32 s1, s1, 05888; GFX10-FLATSCR-PAL-NEXT:    s_setreg_b32 hwreg(HW_REG_FLAT_SCR_LO), s05889; GFX10-FLATSCR-PAL-NEXT:    s_setreg_b32 hwreg(HW_REG_FLAT_SCR_HI), s15890; GFX10-FLATSCR-PAL-NEXT:    v_lshlrev_b32_e32 v0, 2, v05891; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v1, 0xbf20e7f45892; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v29, 0x3f3d349e5893; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v27, 0x3f5f2ee25894; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v28, 0x3f523be15895; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v17, 0xbeae29dc5896; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v26, 0x3f638e375897; GFX10-FLATSCR-PAL-NEXT:    v_and_b32_e32 v0, 0x1fc, v05898; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[1:4], off offset:3205899; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v2, v295900; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v3, v285901; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v4, v275902; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v22, 0xbf5f2ee35903; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v19, 0xbefcd89f5904; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v20, 0xbefcd8a35905; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v18, v175906; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v11, 0xbf3d349e5907; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v12, 0xbf20e7f55908; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v13, 0x3efcd89f5909; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v14, 0x3efcd89c5910; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v25, 0xbf523be35911; GFX10-FLATSCR-PAL-NEXT:    v_add_nc_u32_e32 v34, 0x200, v05912; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v5, v05913; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[26:29], off offset:3045914; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[1:4], off offset:2885915; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[17:20], off offset:2725916; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v0, 0xb702e7585917; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v1, 0xb70435195918; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v2, 0xbe31934f5919; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v3, 0xbe3193565920; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v6, 0x3eae29dc5921; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v7, 0x3eae29d85922; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v8, 0x3e3193565923; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v9, 0x3e31934f5924; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v23, 0xbf638e395925; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v24, v225926; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[11:14], off offset:2245927; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f55928; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v15, v115929; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v16, v255930; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[0:3], off offset:2565931; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[6:9], off offset:2405932; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[22:25], off offset:2085933; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[13:16], off offset:1925934; GFX10-FLATSCR-PAL-NEXT:    scratch_load_dword v1, v5, off5935; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v30, 0xbf523be15936; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v33, 0x3f3d349c5937; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v31, v285938; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v32, v115939; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v7, 0x3703c4995940; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v16, v295941; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v0, 0x3f20e7f45942; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v9, v65943; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v10, v135944; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v18, v125945; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v20, v175946; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v21, v35947; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v24, v265948; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v25, v225949; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v26, v275950; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[30:33], off offset:7845951; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v32, 0xbf5f2ee25952; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v33, v275953; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v4, v75954; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v5, v85955; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[13:16], off offset:7365956; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v13, v195957; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v14, v175958; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[7:10], off offset:8165959; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[18:21], off offset:8005960; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[23:26], off offset:7685961; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[30:33], off offset:7525962; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[3:6], off offset:7205963; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[11:14], off offset:7045964; GFX10-FLATSCR-PAL-NEXT:    s_mov_b32 s2, s55965; GFX10-FLATSCR-PAL-NEXT:    s_waitcnt vmcnt(0)5966; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[0:3], off offset:8325967; GFX10-FLATSCR-PAL-NEXT:    scratch_load_dword v0, v34, off5968; GFX10-FLATSCR-PAL-NEXT:    s_waitcnt vmcnt(0)5969; GFX10-FLATSCR-PAL-NEXT:    v_add_f32_e32 v0, v1, v05970; GFX10-FLATSCR-PAL-NEXT:    ; return to shader part epilog5971;5972; GFX11-FLATSCR-LABEL: hs_ir_uses_scratch_offset:5973; GFX11-FLATSCR:       ; %bb.0:5974; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v1, 0xbf20e7f4 :: v_dual_lshlrev_b32 v0, 2, v05975; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v28, 0x3f3d349e5976; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v27, 0x3f523be15977; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v21, 0xbf5f2ee35978; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v26, 0x3f5f2ee25979; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[1:4], off offset:3205980; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v2, v28 :: v_dual_mov_b32 v19, 0xbefcd89f5981; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v30, v275982; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v24, 0xbf523be3 :: v_dual_mov_b32 v23, v215983; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v25, 0x3f638e37 :: v_dual_mov_b32 v4, v265984; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v3, v275985; GFX11-FLATSCR-NEXT:    s_delay_alu instid0(VALU_DEP_3)5986; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v17, 0xbeae29dc :: v_dual_mov_b32 v16, v245987; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v11, 0xbf3d349e5988; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v6, 0x3eae29dc5989; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v7, 0x3eae29d85990; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v8, 0x3e3193565991; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v9, 0x3e31934f5992; GFX11-FLATSCR-NEXT:    s_clause 0x15993; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[25:28], off offset:3045994; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[1:4], off offset:2885995; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v12, 0xbf20e7f55996; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v13, 0x3efcd89f5997; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v3, 0xbe3193565998; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v14, 0x3efcd89c5999; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v18, v17 :: v_dual_and_b32 v33, 0x1fc, v06000; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v20, 0xbefcd8a3 :: v_dual_mov_b32 v15, v116001; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v1, 0xb7043519 :: v_dual_mov_b32 v10, v136002; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v2, 0xbe31934f :: v_dual_mov_b32 v31, v116003; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v0, 0xb702e7586004; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v22, 0xbf638e396005; GFX11-FLATSCR-NEXT:    s_clause 0x16006; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[6:9], off offset:2406007; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[11:14], off offset:2246008; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v14, 0x3f20e7f5 :: v_dual_mov_b32 v9, v66009; GFX11-FLATSCR-NEXT:    s_clause 0x36010; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[17:20], off offset:2726011; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[0:3], off offset:2566012; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[21:24], off offset:2086013; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[13:16], off offset:1926014; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v4, 0x3f20e7f46015; GFX11-FLATSCR-NEXT:    scratch_load_b32 v0, v33, off6016; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v29, 0xbf523be16017; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v32, 0x3f3d349c6018; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v24, v216019; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[4:7], off offset:8326020; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v7, 0x3703c499 :: v_dual_mov_b32 v16, v286021; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[29:32], off offset:7846022; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v31, 0xbf5f2ee2 :: v_dual_mov_b32 v32, v266023; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v23, v256024; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v25, v26 :: v_dual_mov_b32 v18, v126025; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v20, v17 :: v_dual_mov_b32 v21, v36026; GFX11-FLATSCR-NEXT:    s_clause 0x16027; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[29:32], off offset:7526028; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[13:16], off offset:7366029; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v5, v8 :: v_dual_mov_b32 v14, v176030; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v4, v76031; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v13, v196032; GFX11-FLATSCR-NEXT:    s_clause 0x46033; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[7:10], off offset:8166034; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[18:21], off offset:8006035; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[22:25], off offset:7686036; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[3:6], off offset:7206037; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[11:14], off offset:7046038; GFX11-FLATSCR-NEXT:    scratch_load_b32 v1, v33, off offset:5126039; GFX11-FLATSCR-NEXT:    s_mov_b32 s2, s56040; GFX11-FLATSCR-NEXT:    s_waitcnt vmcnt(0)6041; GFX11-FLATSCR-NEXT:    v_add_f32_e32 v0, v0, v16042; GFX11-FLATSCR-NEXT:    ; return to shader part epilog6043  %v1 = extractelement <81 x float> <float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float 0x3FE41CFEA0000000, float 0xBFE7A693C0000000, float 0xBFEA477C60000000, float 0xBFEBE5DC60000000, float 0xBFEC71C720000000, float 0xBFEBE5DC60000000, float 0xBFEA477C60000000, float 0xBFE7A693C0000000, float 0xBFE41CFEA0000000, float 0x3FDF9B13E0000000, float 0x3FDF9B1380000000, float 0x3FD5C53B80000000, float 0x3FD5C53B00000000, float 0x3FC6326AC0000000, float 0x3FC63269E0000000, float 0xBEE05CEB00000000, float 0xBEE086A320000000, float 0xBFC63269E0000000, float 0xBFC6326AC0000000, float 0xBFD5C53B80000000, float 0xBFD5C53B80000000, float 0xBFDF9B13E0000000, float 0xBFDF9B1460000000, float 0xBFE41CFE80000000, float 0x3FE7A693C0000000, float 0x3FEA477C20000000, float 0x3FEBE5DC40000000, float 0x3FEC71C6E0000000, float 0x3FEBE5DC40000000, float 0x3FEA477C20000000, float 0x3FE7A693C0000000, float 0xBFE41CFE80000000>, i32 %idx6044  %v2 = extractelement <81 x float> <float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float 0xBFE41CFEA0000000, float 0xBFDF9B13E0000000, float 0xBFD5C53B80000000, float 0xBFC6326AC0000000, float 0x3EE0789320000000, float 0x3FC6326AC0000000, float 0x3FD5C53B80000000, float 0x3FDF9B13E0000000, float 0x3FE41CFEA0000000, float 0xBFE7A693C0000000, float 0x3FE7A693C0000000, float 0xBFEA477C20000000, float 0x3FEA477C20000000, float 0xBFEBE5DC40000000, float 0x3FEBE5DC40000000, float 0xBFEC71C720000000, float 0x3FEC71C6E0000000, float 0xBFEBE5DC60000000, float 0x3FEBE5DC40000000, float 0xBFEA477C20000000, float 0x3FEA477C20000000, float 0xBFE7A693C0000000, float 0x3FE7A69380000000, float 0xBFE41CFEA0000000, float 0xBFDF9B13E0000000, float 0xBFD5C53B80000000, float 0xBFC6326AC0000000, float 0x3EE0789320000000, float 0x3FC6326AC0000000, float 0x3FD5C53B80000000, float 0x3FDF9B13E0000000, float 0x3FE41CFE80000000>, i32 %idx6045  %f = fadd float %v1, %v26046  %r1 = insertvalue <{i32, i32, i32, float}> poison, i32 %swo, 26047  %r2 = insertvalue <{i32, i32, i32, float}> %r1, float %f, 36048  ret <{i32, i32, i32, float}> %r26049}6050 6051define amdgpu_gs <{i32, i32, i32, float}> @gs_ir_uses_scratch_offset(i32 inreg, i32 inreg, i32 inreg, i32 inreg, i32 inreg, i32 inreg %swo, i32 %idx) {6052; SI-LABEL: gs_ir_uses_scratch_offset:6053; SI:       ; %bb.0:6054; SI-NEXT:    s_mov_b32 s8, SCRATCH_RSRC_DWORD06055; SI-NEXT:    s_mov_b32 s9, SCRATCH_RSRC_DWORD16056; SI-NEXT:    s_mov_b32 s10, -16057; SI-NEXT:    s_mov_b32 s11, 0xe8f0006058; SI-NEXT:    s_add_u32 s8, s8, s66059; SI-NEXT:    s_addc_u32 s9, s9, 06060; SI-NEXT:    v_mov_b32_e32 v9, 0xbe31934f6061; SI-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:2646062; SI-NEXT:    s_waitcnt expcnt(0)6063; SI-NEXT:    v_mov_b32_e32 v9, 0xb70435196064; SI-NEXT:    v_mov_b32_e32 v2, 0xbf20e7f46065; SI-NEXT:    v_mov_b32_e32 v6, 0x3f638e376066; SI-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:2606067; SI-NEXT:    s_waitcnt expcnt(0)6068; SI-NEXT:    v_mov_b32_e32 v9, 0xb702e7586069; SI-NEXT:    v_lshlrev_b32_e32 v0, 2, v06070; SI-NEXT:    buffer_store_dword v2, off, s[8:11], 0 offset:3206071; SI-NEXT:    v_mov_b32_e32 v3, 0x3f3d349e6072; SI-NEXT:    v_mov_b32_e32 v4, 0x3f523be16073; SI-NEXT:    v_mov_b32_e32 v5, 0x3f5f2ee26074; SI-NEXT:    buffer_store_dword v6, off, s[8:11], 0 offset:3046075; SI-NEXT:    buffer_store_dword v5, off, s[8:11], 0 offset:3006076; SI-NEXT:    buffer_store_dword v4, off, s[8:11], 0 offset:2966077; SI-NEXT:    buffer_store_dword v3, off, s[8:11], 0 offset:2926078; SI-NEXT:    buffer_store_dword v2, off, s[8:11], 0 offset:2886079; SI-NEXT:    s_waitcnt expcnt(0)6080; SI-NEXT:    v_mov_b32_e32 v2, 0xbefcd8a36081; SI-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:2566082; SI-NEXT:    s_waitcnt expcnt(0)6083; SI-NEXT:    v_mov_b32_e32 v9, 0x3e31934f6084; SI-NEXT:    v_mov_b32_e32 v10, 0x3eae29d86085; SI-NEXT:    v_mov_b32_e32 v11, 0x3efcd89c6086; SI-NEXT:    v_mov_b32_e32 v14, 0xbf523be36087; SI-NEXT:    v_mov_b32_e32 v16, 0xbf638e396088; SI-NEXT:    v_and_b32_e32 v0, 0x1fc, v06089; SI-NEXT:    s_mov_b32 s0, 06090; SI-NEXT:    buffer_store_dword v2, off, s[8:11], 0 offset:2846091; SI-NEXT:    s_waitcnt expcnt(0)6092; SI-NEXT:    v_mov_b32_e32 v2, 0xbefcd89f6093; SI-NEXT:    v_mov_b32_e32 v7, 0xbeae29dc6094; SI-NEXT:    v_mov_b32_e32 v8, 0xbe3193566095; SI-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:2526096; SI-NEXT:    s_waitcnt expcnt(0)6097; SI-NEXT:    v_mov_b32_e32 v9, 0x3e3193566098; SI-NEXT:    buffer_store_dword v10, off, s[8:11], 0 offset:2446099; SI-NEXT:    s_waitcnt expcnt(0)6100; SI-NEXT:    v_mov_b32_e32 v10, 0x3eae29dc6101; SI-NEXT:    buffer_store_dword v11, off, s[8:11], 0 offset:2366102; SI-NEXT:    s_waitcnt expcnt(0)6103; SI-NEXT:    v_mov_b32_e32 v11, 0x3efcd89f6104; SI-NEXT:    v_mov_b32_e32 v12, 0xbf20e7f56105; SI-NEXT:    v_mov_b32_e32 v13, 0xbf3d349e6106; SI-NEXT:    buffer_store_dword v14, off, s[8:11], 0 offset:2206107; SI-NEXT:    v_mov_b32_e32 v15, 0xbf5f2ee36108; SI-NEXT:    buffer_store_dword v16, off, s[8:11], 0 offset:2126109; SI-NEXT:    buffer_store_dword v15, off, s[8:11], 0 offset:2086110; SI-NEXT:    buffer_store_dword v14, off, s[8:11], 0 offset:2046111; SI-NEXT:    buffer_store_dword v13, off, s[8:11], 0 offset:2006112; SI-NEXT:    s_waitcnt expcnt(1)6113; SI-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f56114; SI-NEXT:    v_add_i32_e32 v1, vcc, 0x200, v06115; SI-NEXT:    v_add_i32_e32 v0, vcc, s0, v06116; SI-NEXT:    buffer_store_dword v3, off, s[8:11], 0 offset:3166117; SI-NEXT:    buffer_store_dword v4, off, s[8:11], 0 offset:3126118; SI-NEXT:    buffer_store_dword v5, off, s[8:11], 0 offset:3086119; SI-NEXT:    buffer_store_dword v2, off, s[8:11], 0 offset:2806120; SI-NEXT:    buffer_store_dword v7, off, s[8:11], 0 offset:2766121; SI-NEXT:    buffer_store_dword v7, off, s[8:11], 0 offset:2726122; SI-NEXT:    buffer_store_dword v8, off, s[8:11], 0 offset:2686123; SI-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:2486124; SI-NEXT:    buffer_store_dword v10, off, s[8:11], 0 offset:2406125; SI-NEXT:    buffer_store_dword v11, off, s[8:11], 0 offset:2326126; SI-NEXT:    buffer_store_dword v12, off, s[8:11], 0 offset:2286127; SI-NEXT:    buffer_store_dword v13, off, s[8:11], 0 offset:2246128; SI-NEXT:    buffer_store_dword v15, off, s[8:11], 0 offset:2166129; SI-NEXT:    buffer_store_dword v14, off, s[8:11], 0 offset:1966130; SI-NEXT:    v_mov_b32_e32 v17, 0x3f20e7f46131; SI-NEXT:    v_mov_b32_e32 v18, 0x3f3d349c6132; SI-NEXT:    buffer_load_dword v0, v0, s[8:11], 0 offen6133; SI-NEXT:    buffer_store_dword v17, off, s[8:11], 0 offset:8326134; SI-NEXT:    buffer_store_dword v11, off, s[8:11], 0 offset:8286135; SI-NEXT:    buffer_store_dword v10, off, s[8:11], 0 offset:8246136; SI-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:8206137; SI-NEXT:    s_waitcnt expcnt(3)6138; SI-NEXT:    v_mov_b32_e32 v17, 0x3703c4996139; SI-NEXT:    buffer_store_dword v18, off, s[8:11], 0 offset:7966140; SI-NEXT:    buffer_store_dword v13, off, s[8:11], 0 offset:7926141; SI-NEXT:    buffer_store_dword v4, off, s[8:11], 0 offset:7886142; SI-NEXT:    s_waitcnt expcnt(2)6143; SI-NEXT:    v_mov_b32_e32 v18, 0xbf523be16144; SI-NEXT:    buffer_store_dword v17, off, s[8:11], 0 offset:8166145; SI-NEXT:    buffer_store_dword v8, off, s[8:11], 0 offset:8126146; SI-NEXT:    buffer_store_dword v7, off, s[8:11], 0 offset:8086147; SI-NEXT:    buffer_store_dword v2, off, s[8:11], 0 offset:8046148; SI-NEXT:    buffer_store_dword v12, off, s[8:11], 0 offset:8006149; SI-NEXT:    buffer_store_dword v18, off, s[8:11], 0 offset:7846150; SI-NEXT:    buffer_store_dword v5, off, s[8:11], 0 offset:7806151; SI-NEXT:    buffer_store_dword v15, off, s[8:11], 0 offset:7766152; SI-NEXT:    buffer_store_dword v6, off, s[8:11], 0 offset:7726153; SI-NEXT:    buffer_store_dword v16, off, s[8:11], 0 offset:7686154; SI-NEXT:    buffer_store_dword v5, off, s[8:11], 0 offset:7646155; SI-NEXT:    s_waitcnt expcnt(0)6156; SI-NEXT:    v_mov_b32_e32 v5, 0xbf5f2ee26157; SI-NEXT:    buffer_store_dword v5, off, s[8:11], 0 offset:7606158; SI-NEXT:    buffer_store_dword v4, off, s[8:11], 0 offset:7566159; SI-NEXT:    buffer_store_dword v18, off, s[8:11], 0 offset:7526160; SI-NEXT:    buffer_store_dword v3, off, s[8:11], 0 offset:7486161; SI-NEXT:    buffer_store_dword v13, off, s[8:11], 0 offset:7446162; SI-NEXT:    buffer_store_dword v14, off, s[8:11], 0 offset:7406163; SI-NEXT:    buffer_store_dword v11, off, s[8:11], 0 offset:7366164; SI-NEXT:    buffer_store_dword v10, off, s[8:11], 0 offset:7326165; SI-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:7286166; SI-NEXT:    buffer_store_dword v17, off, s[8:11], 0 offset:7246167; SI-NEXT:    buffer_store_dword v8, off, s[8:11], 0 offset:7206168; SI-NEXT:    buffer_store_dword v7, off, s[8:11], 0 offset:7166169; SI-NEXT:    buffer_store_dword v2, off, s[8:11], 0 offset:7126170; SI-NEXT:    buffer_store_dword v12, off, s[8:11], 0 offset:7086171; SI-NEXT:    buffer_load_dword v1, v1, s[8:11], 0 offen6172; SI-NEXT:    s_mov_b32 s2, s56173; SI-NEXT:    s_waitcnt vmcnt(0)6174; SI-NEXT:    v_add_f32_e32 v0, v0, v16175; SI-NEXT:    s_waitcnt expcnt(0)6176; SI-NEXT:    ; return to shader part epilog6177;6178; VI-LABEL: gs_ir_uses_scratch_offset:6179; VI:       ; %bb.0:6180; VI-NEXT:    s_mov_b32 s8, SCRATCH_RSRC_DWORD06181; VI-NEXT:    s_mov_b32 s9, SCRATCH_RSRC_DWORD16182; VI-NEXT:    s_mov_b32 s10, -16183; VI-NEXT:    s_mov_b32 s11, 0xe800006184; VI-NEXT:    s_add_u32 s8, s8, s66185; VI-NEXT:    s_addc_u32 s9, s9, 06186; VI-NEXT:    v_mov_b32_e32 v9, 0xbe31934f6187; VI-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:2646188; VI-NEXT:    v_mov_b32_e32 v9, 0xb70435196189; VI-NEXT:    v_mov_b32_e32 v2, 0xbf20e7f46190; VI-NEXT:    v_mov_b32_e32 v6, 0x3f638e376191; VI-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:2606192; VI-NEXT:    v_mov_b32_e32 v9, 0xb702e7586193; VI-NEXT:    v_lshlrev_b32_e32 v0, 2, v06194; VI-NEXT:    buffer_store_dword v2, off, s[8:11], 0 offset:3206195; VI-NEXT:    v_mov_b32_e32 v3, 0x3f3d349e6196; VI-NEXT:    v_mov_b32_e32 v4, 0x3f523be16197; VI-NEXT:    v_mov_b32_e32 v5, 0x3f5f2ee26198; VI-NEXT:    buffer_store_dword v6, off, s[8:11], 0 offset:3046199; VI-NEXT:    buffer_store_dword v5, off, s[8:11], 0 offset:3006200; VI-NEXT:    buffer_store_dword v4, off, s[8:11], 0 offset:2966201; VI-NEXT:    buffer_store_dword v3, off, s[8:11], 0 offset:2926202; VI-NEXT:    buffer_store_dword v2, off, s[8:11], 0 offset:2886203; VI-NEXT:    v_mov_b32_e32 v2, 0xbefcd8a36204; VI-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:2566205; VI-NEXT:    v_mov_b32_e32 v9, 0x3e31934f6206; VI-NEXT:    v_mov_b32_e32 v10, 0x3eae29d86207; VI-NEXT:    v_mov_b32_e32 v11, 0x3efcd89c6208; VI-NEXT:    v_mov_b32_e32 v14, 0xbf523be36209; VI-NEXT:    v_mov_b32_e32 v16, 0xbf638e396210; VI-NEXT:    v_and_b32_e32 v0, 0x1fc, v06211; VI-NEXT:    s_mov_b32 s0, 06212; VI-NEXT:    buffer_store_dword v2, off, s[8:11], 0 offset:2846213; VI-NEXT:    v_mov_b32_e32 v2, 0xbefcd89f6214; VI-NEXT:    v_mov_b32_e32 v7, 0xbeae29dc6215; VI-NEXT:    v_mov_b32_e32 v8, 0xbe3193566216; VI-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:2526217; VI-NEXT:    v_mov_b32_e32 v9, 0x3e3193566218; VI-NEXT:    buffer_store_dword v10, off, s[8:11], 0 offset:2446219; VI-NEXT:    v_mov_b32_e32 v10, 0x3eae29dc6220; VI-NEXT:    buffer_store_dword v11, off, s[8:11], 0 offset:2366221; VI-NEXT:    v_mov_b32_e32 v11, 0x3efcd89f6222; VI-NEXT:    v_mov_b32_e32 v12, 0xbf20e7f56223; VI-NEXT:    v_mov_b32_e32 v13, 0xbf3d349e6224; VI-NEXT:    buffer_store_dword v14, off, s[8:11], 0 offset:2206225; VI-NEXT:    v_mov_b32_e32 v15, 0xbf5f2ee36226; VI-NEXT:    buffer_store_dword v16, off, s[8:11], 0 offset:2126227; VI-NEXT:    buffer_store_dword v15, off, s[8:11], 0 offset:2086228; VI-NEXT:    buffer_store_dword v14, off, s[8:11], 0 offset:2046229; VI-NEXT:    buffer_store_dword v13, off, s[8:11], 0 offset:2006230; VI-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f56231; VI-NEXT:    v_add_u32_e32 v1, vcc, 0x200, v06232; VI-NEXT:    v_add_u32_e32 v0, vcc, s0, v06233; VI-NEXT:    buffer_store_dword v3, off, s[8:11], 0 offset:3166234; VI-NEXT:    buffer_store_dword v4, off, s[8:11], 0 offset:3126235; VI-NEXT:    buffer_store_dword v5, off, s[8:11], 0 offset:3086236; VI-NEXT:    buffer_store_dword v2, off, s[8:11], 0 offset:2806237; VI-NEXT:    buffer_store_dword v7, off, s[8:11], 0 offset:2766238; VI-NEXT:    buffer_store_dword v7, off, s[8:11], 0 offset:2726239; VI-NEXT:    buffer_store_dword v8, off, s[8:11], 0 offset:2686240; VI-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:2486241; VI-NEXT:    buffer_store_dword v10, off, s[8:11], 0 offset:2406242; VI-NEXT:    buffer_store_dword v11, off, s[8:11], 0 offset:2326243; VI-NEXT:    buffer_store_dword v12, off, s[8:11], 0 offset:2286244; VI-NEXT:    buffer_store_dword v13, off, s[8:11], 0 offset:2246245; VI-NEXT:    buffer_store_dword v15, off, s[8:11], 0 offset:2166246; VI-NEXT:    buffer_store_dword v14, off, s[8:11], 0 offset:1966247; VI-NEXT:    v_mov_b32_e32 v17, 0x3f20e7f46248; VI-NEXT:    v_mov_b32_e32 v18, 0x3f3d349c6249; VI-NEXT:    buffer_load_dword v0, v0, s[8:11], 0 offen6250; VI-NEXT:    buffer_store_dword v17, off, s[8:11], 0 offset:8326251; VI-NEXT:    buffer_store_dword v11, off, s[8:11], 0 offset:8286252; VI-NEXT:    buffer_store_dword v10, off, s[8:11], 0 offset:8246253; VI-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:8206254; VI-NEXT:    v_mov_b32_e32 v17, 0x3703c4996255; VI-NEXT:    buffer_store_dword v18, off, s[8:11], 0 offset:7966256; VI-NEXT:    buffer_store_dword v13, off, s[8:11], 0 offset:7926257; VI-NEXT:    buffer_store_dword v4, off, s[8:11], 0 offset:7886258; VI-NEXT:    v_mov_b32_e32 v18, 0xbf523be16259; VI-NEXT:    buffer_store_dword v17, off, s[8:11], 0 offset:8166260; VI-NEXT:    buffer_store_dword v8, off, s[8:11], 0 offset:8126261; VI-NEXT:    buffer_store_dword v7, off, s[8:11], 0 offset:8086262; VI-NEXT:    buffer_store_dword v2, off, s[8:11], 0 offset:8046263; VI-NEXT:    buffer_store_dword v12, off, s[8:11], 0 offset:8006264; VI-NEXT:    buffer_store_dword v18, off, s[8:11], 0 offset:7846265; VI-NEXT:    buffer_store_dword v5, off, s[8:11], 0 offset:7806266; VI-NEXT:    buffer_store_dword v15, off, s[8:11], 0 offset:7766267; VI-NEXT:    buffer_store_dword v6, off, s[8:11], 0 offset:7726268; VI-NEXT:    buffer_store_dword v16, off, s[8:11], 0 offset:7686269; VI-NEXT:    buffer_store_dword v5, off, s[8:11], 0 offset:7646270; VI-NEXT:    v_mov_b32_e32 v5, 0xbf5f2ee26271; VI-NEXT:    buffer_store_dword v5, off, s[8:11], 0 offset:7606272; VI-NEXT:    buffer_store_dword v4, off, s[8:11], 0 offset:7566273; VI-NEXT:    buffer_store_dword v18, off, s[8:11], 0 offset:7526274; VI-NEXT:    buffer_store_dword v3, off, s[8:11], 0 offset:7486275; VI-NEXT:    buffer_store_dword v13, off, s[8:11], 0 offset:7446276; VI-NEXT:    buffer_store_dword v14, off, s[8:11], 0 offset:7406277; VI-NEXT:    buffer_store_dword v11, off, s[8:11], 0 offset:7366278; VI-NEXT:    buffer_store_dword v10, off, s[8:11], 0 offset:7326279; VI-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:7286280; VI-NEXT:    buffer_store_dword v17, off, s[8:11], 0 offset:7246281; VI-NEXT:    buffer_store_dword v8, off, s[8:11], 0 offset:7206282; VI-NEXT:    buffer_store_dword v7, off, s[8:11], 0 offset:7166283; VI-NEXT:    buffer_store_dword v2, off, s[8:11], 0 offset:7126284; VI-NEXT:    buffer_store_dword v12, off, s[8:11], 0 offset:7086285; VI-NEXT:    buffer_load_dword v1, v1, s[8:11], 0 offen6286; VI-NEXT:    s_mov_b32 s2, s56287; VI-NEXT:    s_waitcnt vmcnt(0)6288; VI-NEXT:    v_add_f32_e32 v0, v0, v16289; VI-NEXT:    ; return to shader part epilog6290;6291; GFX9-MUBUF-LABEL: gs_ir_uses_scratch_offset:6292; GFX9-MUBUF:       ; %bb.0:6293; GFX9-MUBUF-NEXT:    s_mov_b32 s8, SCRATCH_RSRC_DWORD06294; GFX9-MUBUF-NEXT:    s_mov_b32 s9, SCRATCH_RSRC_DWORD16295; GFX9-MUBUF-NEXT:    s_mov_b32 s10, -16296; GFX9-MUBUF-NEXT:    s_mov_b32 s11, 0xe000006297; GFX9-MUBUF-NEXT:    s_add_u32 s8, s8, s56298; GFX9-MUBUF-NEXT:    s_addc_u32 s9, s9, 06299; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v9, 0xbe31934f6300; GFX9-MUBUF-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:2646301; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v9, 0xb70435196302; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v2, 0xbf20e7f46303; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v6, 0x3f638e376304; GFX9-MUBUF-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:2606305; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v9, 0xb702e7586306; GFX9-MUBUF-NEXT:    buffer_store_dword v2, off, s[8:11], 0 offset:3206307; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v3, 0x3f3d349e6308; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v4, 0x3f523be16309; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v5, 0x3f5f2ee26310; GFX9-MUBUF-NEXT:    buffer_store_dword v6, off, s[8:11], 0 offset:3046311; GFX9-MUBUF-NEXT:    buffer_store_dword v5, off, s[8:11], 0 offset:3006312; GFX9-MUBUF-NEXT:    buffer_store_dword v4, off, s[8:11], 0 offset:2966313; GFX9-MUBUF-NEXT:    buffer_store_dword v3, off, s[8:11], 0 offset:2926314; GFX9-MUBUF-NEXT:    buffer_store_dword v2, off, s[8:11], 0 offset:2886315; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v2, 0xbefcd8a36316; GFX9-MUBUF-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:2566317; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v9, 0x3e31934f6318; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v10, 0x3eae29d86319; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v11, 0x3efcd89c6320; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v14, 0xbf523be36321; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v16, 0xbf638e396322; GFX9-MUBUF-NEXT:    v_lshlrev_b32_e32 v0, 2, v06323; GFX9-MUBUF-NEXT:    buffer_store_dword v2, off, s[8:11], 0 offset:2846324; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v2, 0xbefcd89f6325; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v7, 0xbeae29dc6326; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v8, 0xbe3193566327; GFX9-MUBUF-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:2526328; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v9, 0x3e3193566329; GFX9-MUBUF-NEXT:    buffer_store_dword v10, off, s[8:11], 0 offset:2446330; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v10, 0x3eae29dc6331; GFX9-MUBUF-NEXT:    buffer_store_dword v11, off, s[8:11], 0 offset:2366332; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v11, 0x3efcd89f6333; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v12, 0xbf20e7f56334; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v13, 0xbf3d349e6335; GFX9-MUBUF-NEXT:    buffer_store_dword v14, off, s[8:11], 0 offset:2206336; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v15, 0xbf5f2ee36337; GFX9-MUBUF-NEXT:    buffer_store_dword v16, off, s[8:11], 0 offset:2126338; GFX9-MUBUF-NEXT:    buffer_store_dword v15, off, s[8:11], 0 offset:2086339; GFX9-MUBUF-NEXT:    buffer_store_dword v14, off, s[8:11], 0 offset:2046340; GFX9-MUBUF-NEXT:    buffer_store_dword v13, off, s[8:11], 0 offset:2006341; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f56342; GFX9-MUBUF-NEXT:    v_and_b32_e32 v0, 0x1fc, v06343; GFX9-MUBUF-NEXT:    buffer_store_dword v3, off, s[8:11], 0 offset:3166344; GFX9-MUBUF-NEXT:    buffer_store_dword v4, off, s[8:11], 0 offset:3126345; GFX9-MUBUF-NEXT:    buffer_store_dword v5, off, s[8:11], 0 offset:3086346; GFX9-MUBUF-NEXT:    buffer_store_dword v2, off, s[8:11], 0 offset:2806347; GFX9-MUBUF-NEXT:    buffer_store_dword v7, off, s[8:11], 0 offset:2766348; GFX9-MUBUF-NEXT:    buffer_store_dword v7, off, s[8:11], 0 offset:2726349; GFX9-MUBUF-NEXT:    buffer_store_dword v8, off, s[8:11], 0 offset:2686350; GFX9-MUBUF-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:2486351; GFX9-MUBUF-NEXT:    buffer_store_dword v10, off, s[8:11], 0 offset:2406352; GFX9-MUBUF-NEXT:    buffer_store_dword v11, off, s[8:11], 0 offset:2326353; GFX9-MUBUF-NEXT:    buffer_store_dword v12, off, s[8:11], 0 offset:2286354; GFX9-MUBUF-NEXT:    buffer_store_dword v13, off, s[8:11], 0 offset:2246355; GFX9-MUBUF-NEXT:    buffer_store_dword v15, off, s[8:11], 0 offset:2166356; GFX9-MUBUF-NEXT:    buffer_store_dword v14, off, s[8:11], 0 offset:1966357; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v17, 0x3f20e7f46358; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v18, 0x3f3d349c6359; GFX9-MUBUF-NEXT:    v_add_u32_e32 v1, 0x200, v06360; GFX9-MUBUF-NEXT:    buffer_load_dword v0, v0, s[8:11], 0 offen6361; GFX9-MUBUF-NEXT:    s_nop 06362; GFX9-MUBUF-NEXT:    buffer_store_dword v17, off, s[8:11], 0 offset:8326363; GFX9-MUBUF-NEXT:    buffer_store_dword v11, off, s[8:11], 0 offset:8286364; GFX9-MUBUF-NEXT:    buffer_store_dword v10, off, s[8:11], 0 offset:8246365; GFX9-MUBUF-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:8206366; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v17, 0x3703c4996367; GFX9-MUBUF-NEXT:    buffer_store_dword v18, off, s[8:11], 0 offset:7966368; GFX9-MUBUF-NEXT:    buffer_store_dword v13, off, s[8:11], 0 offset:7926369; GFX9-MUBUF-NEXT:    buffer_store_dword v4, off, s[8:11], 0 offset:7886370; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v18, 0xbf523be16371; GFX9-MUBUF-NEXT:    buffer_store_dword v17, off, s[8:11], 0 offset:8166372; GFX9-MUBUF-NEXT:    buffer_store_dword v8, off, s[8:11], 0 offset:8126373; GFX9-MUBUF-NEXT:    buffer_store_dword v7, off, s[8:11], 0 offset:8086374; GFX9-MUBUF-NEXT:    buffer_store_dword v2, off, s[8:11], 0 offset:8046375; GFX9-MUBUF-NEXT:    buffer_store_dword v12, off, s[8:11], 0 offset:8006376; GFX9-MUBUF-NEXT:    buffer_store_dword v18, off, s[8:11], 0 offset:7846377; GFX9-MUBUF-NEXT:    buffer_store_dword v5, off, s[8:11], 0 offset:7806378; GFX9-MUBUF-NEXT:    buffer_store_dword v15, off, s[8:11], 0 offset:7766379; GFX9-MUBUF-NEXT:    buffer_store_dword v6, off, s[8:11], 0 offset:7726380; GFX9-MUBUF-NEXT:    buffer_store_dword v16, off, s[8:11], 0 offset:7686381; GFX9-MUBUF-NEXT:    buffer_store_dword v5, off, s[8:11], 0 offset:7646382; GFX9-MUBUF-NEXT:    v_mov_b32_e32 v5, 0xbf5f2ee26383; GFX9-MUBUF-NEXT:    buffer_store_dword v5, off, s[8:11], 0 offset:7606384; GFX9-MUBUF-NEXT:    buffer_store_dword v4, off, s[8:11], 0 offset:7566385; GFX9-MUBUF-NEXT:    buffer_store_dword v18, off, s[8:11], 0 offset:7526386; GFX9-MUBUF-NEXT:    buffer_store_dword v3, off, s[8:11], 0 offset:7486387; GFX9-MUBUF-NEXT:    buffer_store_dword v13, off, s[8:11], 0 offset:7446388; GFX9-MUBUF-NEXT:    buffer_store_dword v14, off, s[8:11], 0 offset:7406389; GFX9-MUBUF-NEXT:    buffer_store_dword v11, off, s[8:11], 0 offset:7366390; GFX9-MUBUF-NEXT:    buffer_store_dword v10, off, s[8:11], 0 offset:7326391; GFX9-MUBUF-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:7286392; GFX9-MUBUF-NEXT:    buffer_store_dword v17, off, s[8:11], 0 offset:7246393; GFX9-MUBUF-NEXT:    buffer_store_dword v8, off, s[8:11], 0 offset:7206394; GFX9-MUBUF-NEXT:    buffer_store_dword v7, off, s[8:11], 0 offset:7166395; GFX9-MUBUF-NEXT:    buffer_store_dword v2, off, s[8:11], 0 offset:7126396; GFX9-MUBUF-NEXT:    buffer_store_dword v12, off, s[8:11], 0 offset:7086397; GFX9-MUBUF-NEXT:    buffer_load_dword v1, v1, s[8:11], 0 offen6398; GFX9-MUBUF-NEXT:    s_mov_b32 s2, s56399; GFX9-MUBUF-NEXT:    s_waitcnt vmcnt(0)6400; GFX9-MUBUF-NEXT:    v_add_f32_e32 v0, v0, v16401; GFX9-MUBUF-NEXT:    ; return to shader part epilog6402;6403; GFX10_W32-MUBUF-LABEL: gs_ir_uses_scratch_offset:6404; GFX10_W32-MUBUF:       ; %bb.0:6405; GFX10_W32-MUBUF-NEXT:    s_mov_b32 s8, SCRATCH_RSRC_DWORD06406; GFX10_W32-MUBUF-NEXT:    s_mov_b32 s9, SCRATCH_RSRC_DWORD16407; GFX10_W32-MUBUF-NEXT:    s_mov_b32 s10, -16408; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v1, 0xbf20e7f46409; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v2, 0x3f3d349e6410; GFX10_W32-MUBUF-NEXT:    s_mov_b32 s11, 0x31c160006411; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v3, 0x3f523be16412; GFX10_W32-MUBUF-NEXT:    s_add_u32 s8, s8, s56413; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v4, 0x3f5f2ee26414; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v7, 0xbefcd8a36415; GFX10_W32-MUBUF-NEXT:    s_addc_u32 s9, s9, 06416; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v5, 0x3f638e376417; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v8, 0xbefcd89f6418; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v9, 0xbeae29dc6419; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v1, off, s[8:11], 0 offset:3206420; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v2, off, s[8:11], 0 offset:3166421; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v3, off, s[8:11], 0 offset:3126422; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v4, off, s[8:11], 0 offset:3086423; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v5, off, s[8:11], 0 offset:3046424; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v2, off, s[8:11], 0 offset:2926425; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v1, off, s[8:11], 0 offset:2886426; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v7, off, s[8:11], 0 offset:2846427; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v8, off, s[8:11], 0 offset:2806428; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:2766429; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:2726430; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v1, 0xbe3193566431; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v7, 0xbe31934f6432; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v10, 0xb70435196433; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v11, 0xb702e7586434; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v12, 0x3e31934f6435; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v1, off, s[8:11], 0 offset:2686436; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v7, off, s[8:11], 0 offset:2646437; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v10, off, s[8:11], 0 offset:2606438; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v11, off, s[8:11], 0 offset:2566439; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v12, off, s[8:11], 0 offset:2526440; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v7, 0x3e3193566441; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v10, 0x3eae29d86442; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v11, 0x3eae29dc6443; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v12, 0x3efcd89c6444; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v13, 0x3efcd89f6445; GFX10_W32-MUBUF-NEXT:    v_lshlrev_b32_e32 v0, 2, v06446; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v7, off, s[8:11], 0 offset:2486447; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v10, off, s[8:11], 0 offset:2446448; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v11, off, s[8:11], 0 offset:2406449; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v12, off, s[8:11], 0 offset:2366450; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v13, off, s[8:11], 0 offset:2326451; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v10, 0xbf20e7f56452; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v15, 0xbf5f2ee36453; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v12, 0xbf3d349e6454; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v14, 0xbf523be36455; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v16, 0xbf638e396456; GFX10_W32-MUBUF-NEXT:    v_and_b32_e32 v0, 0x1fc, v06457; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v10, off, s[8:11], 0 offset:2286458; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v12, off, s[8:11], 0 offset:2246459; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v14, off, s[8:11], 0 offset:2206460; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v15, off, s[8:11], 0 offset:2166461; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v16, off, s[8:11], 0 offset:2126462; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v17, 0x3f20e7f56463; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v15, off, s[8:11], 0 offset:2086464; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v14, off, s[8:11], 0 offset:2046465; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f46466; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v4, off, s[8:11], 0 offset:3006467; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v3, off, s[8:11], 0 offset:2966468; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v12, off, s[8:11], 0 offset:2006469; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v17, off, s[8:11], 0 offset:1966470; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v18, 0x3703c4996471; GFX10_W32-MUBUF-NEXT:    v_add_nc_u32_e32 v6, 0x200, v06472; GFX10_W32-MUBUF-NEXT:    buffer_load_dword v0, v0, s[8:11], 0 offen6473; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v14, off, s[8:11], 0 offset:8326474; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v13, off, s[8:11], 0 offset:8286475; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v11, off, s[8:11], 0 offset:8246476; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v7, off, s[8:11], 0 offset:8206477; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v18, off, s[8:11], 0 offset:8166478; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v1, off, s[8:11], 0 offset:8126479; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v14, 0x3f3d349c6480; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v19, 0xbf523be16481; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v10, off, s[8:11], 0 offset:8006482; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v14, off, s[8:11], 0 offset:7966483; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v12, off, s[8:11], 0 offset:7926484; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v3, off, s[8:11], 0 offset:7886485; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v19, off, s[8:11], 0 offset:7846486; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v4, off, s[8:11], 0 offset:7806487; GFX10_W32-MUBUF-NEXT:    v_mov_b32_e32 v14, 0xbf5f2ee26488; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:8086489; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v8, off, s[8:11], 0 offset:8046490; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v15, off, s[8:11], 0 offset:7766491; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v5, off, s[8:11], 0 offset:7726492; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v16, off, s[8:11], 0 offset:7686493; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v4, off, s[8:11], 0 offset:7646494; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v14, off, s[8:11], 0 offset:7606495; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v3, off, s[8:11], 0 offset:7566496; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v19, off, s[8:11], 0 offset:7526497; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v2, off, s[8:11], 0 offset:7486498; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v12, off, s[8:11], 0 offset:7446499; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v17, off, s[8:11], 0 offset:7406500; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v13, off, s[8:11], 0 offset:7366501; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v11, off, s[8:11], 0 offset:7326502; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v7, off, s[8:11], 0 offset:7286503; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v18, off, s[8:11], 0 offset:7246504; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v1, off, s[8:11], 0 offset:7206505; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:7166506; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v8, off, s[8:11], 0 offset:7126507; GFX10_W32-MUBUF-NEXT:    buffer_store_dword v10, off, s[8:11], 0 offset:7086508; GFX10_W32-MUBUF-NEXT:    buffer_load_dword v1, v6, s[8:11], 0 offen6509; GFX10_W32-MUBUF-NEXT:    s_mov_b32 s2, s56510; GFX10_W32-MUBUF-NEXT:    s_waitcnt vmcnt(0)6511; GFX10_W32-MUBUF-NEXT:    v_add_f32_e32 v0, v0, v16512; GFX10_W32-MUBUF-NEXT:    ; return to shader part epilog6513;6514; GFX10_W64-MUBUF-LABEL: gs_ir_uses_scratch_offset:6515; GFX10_W64-MUBUF:       ; %bb.0:6516; GFX10_W64-MUBUF-NEXT:    s_mov_b32 s8, SCRATCH_RSRC_DWORD06517; GFX10_W64-MUBUF-NEXT:    s_mov_b32 s9, SCRATCH_RSRC_DWORD16518; GFX10_W64-MUBUF-NEXT:    s_mov_b32 s10, -16519; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v1, 0xbf20e7f46520; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v2, 0x3f3d349e6521; GFX10_W64-MUBUF-NEXT:    s_mov_b32 s11, 0x31e160006522; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v3, 0x3f523be16523; GFX10_W64-MUBUF-NEXT:    s_add_u32 s8, s8, s56524; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v4, 0x3f5f2ee26525; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v7, 0xbefcd8a36526; GFX10_W64-MUBUF-NEXT:    s_addc_u32 s9, s9, 06527; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v5, 0x3f638e376528; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v8, 0xbefcd89f6529; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v9, 0xbeae29dc6530; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v1, off, s[8:11], 0 offset:3206531; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v2, off, s[8:11], 0 offset:3166532; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v3, off, s[8:11], 0 offset:3126533; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v4, off, s[8:11], 0 offset:3086534; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v5, off, s[8:11], 0 offset:3046535; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v2, off, s[8:11], 0 offset:2926536; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v1, off, s[8:11], 0 offset:2886537; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v7, off, s[8:11], 0 offset:2846538; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v8, off, s[8:11], 0 offset:2806539; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:2766540; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:2726541; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v1, 0xbe3193566542; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v7, 0xbe31934f6543; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v10, 0xb70435196544; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v11, 0xb702e7586545; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v12, 0x3e31934f6546; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v1, off, s[8:11], 0 offset:2686547; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v7, off, s[8:11], 0 offset:2646548; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v10, off, s[8:11], 0 offset:2606549; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v11, off, s[8:11], 0 offset:2566550; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v12, off, s[8:11], 0 offset:2526551; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v7, 0x3e3193566552; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v10, 0x3eae29d86553; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v11, 0x3eae29dc6554; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v12, 0x3efcd89c6555; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v13, 0x3efcd89f6556; GFX10_W64-MUBUF-NEXT:    v_lshlrev_b32_e32 v0, 2, v06557; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v7, off, s[8:11], 0 offset:2486558; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v10, off, s[8:11], 0 offset:2446559; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v11, off, s[8:11], 0 offset:2406560; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v12, off, s[8:11], 0 offset:2366561; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v13, off, s[8:11], 0 offset:2326562; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v10, 0xbf20e7f56563; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v15, 0xbf5f2ee36564; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v12, 0xbf3d349e6565; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v14, 0xbf523be36566; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v16, 0xbf638e396567; GFX10_W64-MUBUF-NEXT:    v_and_b32_e32 v0, 0x1fc, v06568; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v10, off, s[8:11], 0 offset:2286569; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v12, off, s[8:11], 0 offset:2246570; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v14, off, s[8:11], 0 offset:2206571; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v15, off, s[8:11], 0 offset:2166572; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v16, off, s[8:11], 0 offset:2126573; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v17, 0x3f20e7f56574; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v15, off, s[8:11], 0 offset:2086575; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v14, off, s[8:11], 0 offset:2046576; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f46577; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v4, off, s[8:11], 0 offset:3006578; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v3, off, s[8:11], 0 offset:2966579; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v12, off, s[8:11], 0 offset:2006580; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v17, off, s[8:11], 0 offset:1966581; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v18, 0x3703c4996582; GFX10_W64-MUBUF-NEXT:    v_add_nc_u32_e32 v6, 0x200, v06583; GFX10_W64-MUBUF-NEXT:    buffer_load_dword v0, v0, s[8:11], 0 offen6584; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v14, off, s[8:11], 0 offset:8326585; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v13, off, s[8:11], 0 offset:8286586; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v11, off, s[8:11], 0 offset:8246587; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v7, off, s[8:11], 0 offset:8206588; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v18, off, s[8:11], 0 offset:8166589; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v1, off, s[8:11], 0 offset:8126590; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v14, 0x3f3d349c6591; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v19, 0xbf523be16592; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v10, off, s[8:11], 0 offset:8006593; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v14, off, s[8:11], 0 offset:7966594; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v12, off, s[8:11], 0 offset:7926595; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v3, off, s[8:11], 0 offset:7886596; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v19, off, s[8:11], 0 offset:7846597; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v4, off, s[8:11], 0 offset:7806598; GFX10_W64-MUBUF-NEXT:    v_mov_b32_e32 v14, 0xbf5f2ee26599; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:8086600; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v8, off, s[8:11], 0 offset:8046601; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v15, off, s[8:11], 0 offset:7766602; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v5, off, s[8:11], 0 offset:7726603; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v16, off, s[8:11], 0 offset:7686604; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v4, off, s[8:11], 0 offset:7646605; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v14, off, s[8:11], 0 offset:7606606; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v3, off, s[8:11], 0 offset:7566607; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v19, off, s[8:11], 0 offset:7526608; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v2, off, s[8:11], 0 offset:7486609; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v12, off, s[8:11], 0 offset:7446610; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v17, off, s[8:11], 0 offset:7406611; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v13, off, s[8:11], 0 offset:7366612; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v11, off, s[8:11], 0 offset:7326613; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v7, off, s[8:11], 0 offset:7286614; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v18, off, s[8:11], 0 offset:7246615; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v1, off, s[8:11], 0 offset:7206616; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v9, off, s[8:11], 0 offset:7166617; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v8, off, s[8:11], 0 offset:7126618; GFX10_W64-MUBUF-NEXT:    buffer_store_dword v10, off, s[8:11], 0 offset:7086619; GFX10_W64-MUBUF-NEXT:    buffer_load_dword v1, v6, s[8:11], 0 offen6620; GFX10_W64-MUBUF-NEXT:    s_mov_b32 s2, s56621; GFX10_W64-MUBUF-NEXT:    s_waitcnt vmcnt(0)6622; GFX10_W64-MUBUF-NEXT:    v_add_f32_e32 v0, v0, v16623; GFX10_W64-MUBUF-NEXT:    ; return to shader part epilog6624;6625; GFX9-FLATSCR-LABEL: gs_ir_uses_scratch_offset:6626; GFX9-FLATSCR:       ; %bb.0:6627; GFX9-FLATSCR-NEXT:    s_add_u32 flat_scratch_lo, s0, s56628; GFX9-FLATSCR-NEXT:    v_lshlrev_b32_e32 v0, 2, v06629; GFX9-FLATSCR-NEXT:    s_addc_u32 flat_scratch_hi, s1, 06630; GFX9-FLATSCR-NEXT:    v_and_b32_e32 v30, 0x1fc, v06631; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v0, 0xbf20e7f46632; GFX9-FLATSCR-NEXT:    s_mov_b32 s0, 06633; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v27, 0x3f5f2ee26634; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v28, 0x3f523be16635; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v29, 0x3f3d349e6636; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:3206637; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v17, 0xbeae29dc6638; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v1, v296639; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v2, v286640; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v3, v276641; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v11, 0xbf3d349e6642; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v12, 0xbf20e7f56643; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v13, 0x3efcd89f6644; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v14, 0x3efcd89c6645; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v22, 0xbf5f2ee36646; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v25, 0xbf523be36647; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v26, 0x3f638e376648; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:2886649; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v19, 0xbefcd89f6650; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v20, 0xbefcd8a36651; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v18, v176652; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v0, 0xb702e7586653; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v1, 0xb70435196654; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v2, 0xbe31934f6655; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v3, 0xbe3193566656; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v6, 0x3eae29dc6657; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v7, 0x3eae29d86658; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v8, 0x3e3193566659; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v9, 0x3e31934f6660; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[11:14], s0 offset:2246661; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v23, 0xbf638e396662; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v24, v226663; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f56664; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v15, v116665; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v16, v256666; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[26:29], s0 offset:3046667; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[17:20], s0 offset:2726668; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:2566669; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[6:9], s0 offset:2406670; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[22:25], s0 offset:2086671; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[13:16], s0 offset:1926672; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v0, v306673; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v7, 0x3703c4996674; GFX9-FLATSCR-NEXT:    scratch_load_dword v31, v0, off6675; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v4, v76676; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v5, v86677; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v0, 0x3f20e7f46678; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v21, v36679; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[3:6], s0 offset:7206680; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:8326681; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v16, v296682; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v0, 0xbf523be16683; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v3, 0x3f3d349c6684; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v1, v286685; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v2, v116686; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v9, v66687; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v10, v136688; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v24, v266689; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v25, v226690; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v26, v276691; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:7846692; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v18, v126693; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v2, 0xbf5f2ee26694; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v3, v276695; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v20, v176696; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[13:16], s0 offset:7366697; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[7:10], s0 offset:8166698; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v13, v196699; GFX9-FLATSCR-NEXT:    v_mov_b32_e32 v14, v176700; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[23:26], s0 offset:7686701; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:7526702; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[18:21], s0 offset:8006703; GFX9-FLATSCR-NEXT:    v_add_u32_e32 v0, 0x200, v306704; GFX9-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[11:14], s0 offset:7046705; GFX9-FLATSCR-NEXT:    scratch_load_dword v0, v0, off6706; GFX9-FLATSCR-NEXT:    s_mov_b32 s2, s76707; GFX9-FLATSCR-NEXT:    s_waitcnt vmcnt(0)6708; GFX9-FLATSCR-NEXT:    v_add_f32_e32 v0, v31, v06709; GFX9-FLATSCR-NEXT:    ; return to shader part epilog6710;6711; GFX10-FLATSCR-LABEL: gs_ir_uses_scratch_offset:6712; GFX10-FLATSCR:       ; %bb.0:6713; GFX10-FLATSCR-NEXT:    s_add_u32 s0, s0, s56714; GFX10-FLATSCR-NEXT:    s_addc_u32 s1, s1, 06715; GFX10-FLATSCR-NEXT:    s_setreg_b32 hwreg(HW_REG_FLAT_SCR_LO), s06716; GFX10-FLATSCR-NEXT:    s_setreg_b32 hwreg(HW_REG_FLAT_SCR_HI), s16717; GFX10-FLATSCR-NEXT:    v_lshlrev_b32_e32 v0, 2, v06718; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v1, 0xbf20e7f46719; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v29, 0x3f3d349e6720; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v27, 0x3f5f2ee26721; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v28, 0x3f523be16722; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v17, 0xbeae29dc6723; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v26, 0x3f638e376724; GFX10-FLATSCR-NEXT:    v_and_b32_e32 v0, 0x1fc, v06725; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[1:4], off offset:3206726; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v2, v296727; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v3, v286728; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v4, v276729; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v22, 0xbf5f2ee36730; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v19, 0xbefcd89f6731; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v20, 0xbefcd8a36732; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v18, v176733; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v11, 0xbf3d349e6734; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v12, 0xbf20e7f56735; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v13, 0x3efcd89f6736; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v14, 0x3efcd89c6737; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v25, 0xbf523be36738; GFX10-FLATSCR-NEXT:    v_add_nc_u32_e32 v34, 0x200, v06739; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v5, v06740; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[26:29], off offset:3046741; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[1:4], off offset:2886742; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[17:20], off offset:2726743; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v0, 0xb702e7586744; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v1, 0xb70435196745; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v2, 0xbe31934f6746; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v3, 0xbe3193566747; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v6, 0x3eae29dc6748; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v7, 0x3eae29d86749; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v8, 0x3e3193566750; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v9, 0x3e31934f6751; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v23, 0xbf638e396752; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v24, v226753; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[11:14], off offset:2246754; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f56755; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v15, v116756; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v16, v256757; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[0:3], off offset:2566758; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[6:9], off offset:2406759; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[22:25], off offset:2086760; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[13:16], off offset:1926761; GFX10-FLATSCR-NEXT:    scratch_load_dword v1, v5, off6762; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v30, 0xbf523be16763; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v33, 0x3f3d349c6764; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v31, v286765; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v32, v116766; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v7, 0x3703c4996767; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v16, v296768; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v0, 0x3f20e7f46769; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v9, v66770; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v10, v136771; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v18, v126772; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v20, v176773; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v21, v36774; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v24, v266775; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v25, v226776; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v26, v276777; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[30:33], off offset:7846778; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v32, 0xbf5f2ee26779; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v33, v276780; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v4, v76781; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v5, v86782; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[13:16], off offset:7366783; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v13, v196784; GFX10-FLATSCR-NEXT:    v_mov_b32_e32 v14, v176785; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[7:10], off offset:8166786; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[18:21], off offset:8006787; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[23:26], off offset:7686788; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[30:33], off offset:7526789; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[3:6], off offset:7206790; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[11:14], off offset:7046791; GFX10-FLATSCR-NEXT:    s_mov_b32 s2, s76792; GFX10-FLATSCR-NEXT:    s_waitcnt vmcnt(0)6793; GFX10-FLATSCR-NEXT:    scratch_store_dwordx4 off, v[0:3], off offset:8326794; GFX10-FLATSCR-NEXT:    scratch_load_dword v0, v34, off6795; GFX10-FLATSCR-NEXT:    s_waitcnt vmcnt(0)6796; GFX10-FLATSCR-NEXT:    v_add_f32_e32 v0, v1, v06797; GFX10-FLATSCR-NEXT:    ; return to shader part epilog6798;6799; GFX9-FLATSCR-PAL-LABEL: gs_ir_uses_scratch_offset:6800; GFX9-FLATSCR-PAL:       ; %bb.0:6801; GFX9-FLATSCR-PAL-NEXT:    s_getpc_b64 s[0:1]6802; GFX9-FLATSCR-PAL-NEXT:    s_mov_b32 s0, s86803; GFX9-FLATSCR-PAL-NEXT:    s_load_dwordx2 s[0:1], s[0:1], 0x06804; GFX9-FLATSCR-PAL-NEXT:    v_lshlrev_b32_e32 v0, 2, v06805; GFX9-FLATSCR-PAL-NEXT:    v_and_b32_e32 v30, 0x1fc, v06806; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v0, 0xbf20e7f46807; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v27, 0x3f5f2ee26808; GFX9-FLATSCR-PAL-NEXT:    s_waitcnt lgkmcnt(0)6809; GFX9-FLATSCR-PAL-NEXT:    s_and_b32 s1, s1, 0xffff6810; GFX9-FLATSCR-PAL-NEXT:    s_add_u32 flat_scratch_lo, s0, s56811; GFX9-FLATSCR-PAL-NEXT:    s_addc_u32 flat_scratch_hi, s1, 06812; GFX9-FLATSCR-PAL-NEXT:    s_mov_b32 s0, 06813; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v28, 0x3f523be16814; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v29, 0x3f3d349e6815; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:3206816; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v17, 0xbeae29dc6817; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v1, v296818; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v2, v286819; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v3, v276820; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v11, 0xbf3d349e6821; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v12, 0xbf20e7f56822; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v13, 0x3efcd89f6823; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v14, 0x3efcd89c6824; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v22, 0xbf5f2ee36825; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v25, 0xbf523be36826; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v26, 0x3f638e376827; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:2886828; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v19, 0xbefcd89f6829; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v20, 0xbefcd8a36830; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v18, v176831; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v0, 0xb702e7586832; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v1, 0xb70435196833; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v2, 0xbe31934f6834; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v3, 0xbe3193566835; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v6, 0x3eae29dc6836; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v7, 0x3eae29d86837; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v8, 0x3e3193566838; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v9, 0x3e31934f6839; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[11:14], s0 offset:2246840; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v23, 0xbf638e396841; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v24, v226842; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f56843; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v15, v116844; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v16, v256845; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[26:29], s0 offset:3046846; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[17:20], s0 offset:2726847; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:2566848; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[6:9], s0 offset:2406849; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[22:25], s0 offset:2086850; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[13:16], s0 offset:1926851; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v0, v306852; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v7, 0x3703c4996853; GFX9-FLATSCR-PAL-NEXT:    scratch_load_dword v31, v0, off6854; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v4, v76855; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v5, v86856; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v0, 0x3f20e7f46857; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v21, v36858; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[3:6], s0 offset:7206859; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:8326860; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v16, v296861; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v0, 0xbf523be16862; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v3, 0x3f3d349c6863; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v1, v286864; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v2, v116865; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v9, v66866; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v10, v136867; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v24, v266868; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v25, v226869; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v26, v276870; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:7846871; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v18, v126872; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v2, 0xbf5f2ee26873; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v3, v276874; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v20, v176875; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[13:16], s0 offset:7366876; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[7:10], s0 offset:8166877; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v13, v196878; GFX9-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v14, v176879; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[23:26], s0 offset:7686880; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[0:3], s0 offset:7526881; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[18:21], s0 offset:8006882; GFX9-FLATSCR-PAL-NEXT:    v_add_u32_e32 v0, 0x200, v306883; GFX9-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[11:14], s0 offset:7046884; GFX9-FLATSCR-PAL-NEXT:    scratch_load_dword v0, v0, off6885; GFX9-FLATSCR-PAL-NEXT:    s_mov_b32 s2, s56886; GFX9-FLATSCR-PAL-NEXT:    s_waitcnt vmcnt(0)6887; GFX9-FLATSCR-PAL-NEXT:    v_add_f32_e32 v0, v31, v06888; GFX9-FLATSCR-PAL-NEXT:    ; return to shader part epilog6889;6890; GFX10-FLATSCR-PAL-LABEL: gs_ir_uses_scratch_offset:6891; GFX10-FLATSCR-PAL:       ; %bb.0:6892; GFX10-FLATSCR-PAL-NEXT:    s_getpc_b64 s[0:1]6893; GFX10-FLATSCR-PAL-NEXT:    s_mov_b32 s0, s86894; GFX10-FLATSCR-PAL-NEXT:    s_load_dwordx2 s[0:1], s[0:1], 0x06895; GFX10-FLATSCR-PAL-NEXT:    s_waitcnt lgkmcnt(0)6896; GFX10-FLATSCR-PAL-NEXT:    s_and_b32 s1, s1, 0xffff6897; GFX10-FLATSCR-PAL-NEXT:    s_add_u32 s0, s0, s56898; GFX10-FLATSCR-PAL-NEXT:    s_addc_u32 s1, s1, 06899; GFX10-FLATSCR-PAL-NEXT:    s_setreg_b32 hwreg(HW_REG_FLAT_SCR_LO), s06900; GFX10-FLATSCR-PAL-NEXT:    s_setreg_b32 hwreg(HW_REG_FLAT_SCR_HI), s16901; GFX10-FLATSCR-PAL-NEXT:    v_lshlrev_b32_e32 v0, 2, v06902; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v1, 0xbf20e7f46903; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v29, 0x3f3d349e6904; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v27, 0x3f5f2ee26905; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v28, 0x3f523be16906; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v17, 0xbeae29dc6907; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v26, 0x3f638e376908; GFX10-FLATSCR-PAL-NEXT:    v_and_b32_e32 v0, 0x1fc, v06909; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[1:4], off offset:3206910; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v2, v296911; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v3, v286912; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v4, v276913; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v22, 0xbf5f2ee36914; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v19, 0xbefcd89f6915; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v20, 0xbefcd8a36916; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v18, v176917; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v11, 0xbf3d349e6918; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v12, 0xbf20e7f56919; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v13, 0x3efcd89f6920; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v14, 0x3efcd89c6921; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v25, 0xbf523be36922; GFX10-FLATSCR-PAL-NEXT:    v_add_nc_u32_e32 v34, 0x200, v06923; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v5, v06924; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[26:29], off offset:3046925; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[1:4], off offset:2886926; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[17:20], off offset:2726927; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v0, 0xb702e7586928; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v1, 0xb70435196929; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v2, 0xbe31934f6930; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v3, 0xbe3193566931; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v6, 0x3eae29dc6932; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v7, 0x3eae29d86933; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v8, 0x3e3193566934; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v9, 0x3e31934f6935; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v23, 0xbf638e396936; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v24, v226937; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[11:14], off offset:2246938; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v14, 0x3f20e7f56939; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v15, v116940; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v16, v256941; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[0:3], off offset:2566942; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[6:9], off offset:2406943; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[22:25], off offset:2086944; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[13:16], off offset:1926945; GFX10-FLATSCR-PAL-NEXT:    scratch_load_dword v1, v5, off6946; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v30, 0xbf523be16947; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v33, 0x3f3d349c6948; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v31, v286949; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v32, v116950; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v7, 0x3703c4996951; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v16, v296952; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v0, 0x3f20e7f46953; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v9, v66954; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v10, v136955; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v18, v126956; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v20, v176957; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v21, v36958; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v24, v266959; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v25, v226960; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v26, v276961; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[30:33], off offset:7846962; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v32, 0xbf5f2ee26963; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v33, v276964; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v4, v76965; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v5, v86966; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[13:16], off offset:7366967; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v13, v196968; GFX10-FLATSCR-PAL-NEXT:    v_mov_b32_e32 v14, v176969; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[7:10], off offset:8166970; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[18:21], off offset:8006971; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[23:26], off offset:7686972; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[30:33], off offset:7526973; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[3:6], off offset:7206974; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[11:14], off offset:7046975; GFX10-FLATSCR-PAL-NEXT:    s_mov_b32 s2, s56976; GFX10-FLATSCR-PAL-NEXT:    s_waitcnt vmcnt(0)6977; GFX10-FLATSCR-PAL-NEXT:    scratch_store_dwordx4 off, v[0:3], off offset:8326978; GFX10-FLATSCR-PAL-NEXT:    scratch_load_dword v0, v34, off6979; GFX10-FLATSCR-PAL-NEXT:    s_waitcnt vmcnt(0)6980; GFX10-FLATSCR-PAL-NEXT:    v_add_f32_e32 v0, v1, v06981; GFX10-FLATSCR-PAL-NEXT:    ; return to shader part epilog6982;6983; GFX11-FLATSCR-LABEL: gs_ir_uses_scratch_offset:6984; GFX11-FLATSCR:       ; %bb.0:6985; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v1, 0xbf20e7f4 :: v_dual_lshlrev_b32 v0, 2, v06986; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v28, 0x3f3d349e6987; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v27, 0x3f523be16988; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v21, 0xbf5f2ee36989; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v26, 0x3f5f2ee26990; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[1:4], off offset:3206991; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v2, v28 :: v_dual_mov_b32 v19, 0xbefcd89f6992; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v30, v276993; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v24, 0xbf523be3 :: v_dual_mov_b32 v23, v216994; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v25, 0x3f638e37 :: v_dual_mov_b32 v4, v266995; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v3, v276996; GFX11-FLATSCR-NEXT:    s_delay_alu instid0(VALU_DEP_3)6997; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v17, 0xbeae29dc :: v_dual_mov_b32 v16, v246998; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v11, 0xbf3d349e6999; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v6, 0x3eae29dc7000; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v7, 0x3eae29d87001; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v8, 0x3e3193567002; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v9, 0x3e31934f7003; GFX11-FLATSCR-NEXT:    s_clause 0x17004; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[25:28], off offset:3047005; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[1:4], off offset:2887006; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v12, 0xbf20e7f57007; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v13, 0x3efcd89f7008; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v3, 0xbe3193567009; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v14, 0x3efcd89c7010; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v18, v17 :: v_dual_and_b32 v33, 0x1fc, v07011; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v20, 0xbefcd8a3 :: v_dual_mov_b32 v15, v117012; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v1, 0xb7043519 :: v_dual_mov_b32 v10, v137013; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v2, 0xbe31934f :: v_dual_mov_b32 v31, v117014; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v0, 0xb702e7587015; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v22, 0xbf638e397016; GFX11-FLATSCR-NEXT:    s_clause 0x17017; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[6:9], off offset:2407018; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[11:14], off offset:2247019; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v14, 0x3f20e7f5 :: v_dual_mov_b32 v9, v67020; GFX11-FLATSCR-NEXT:    s_clause 0x37021; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[17:20], off offset:2727022; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[0:3], off offset:2567023; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[21:24], off offset:2087024; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[13:16], off offset:1927025; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v4, 0x3f20e7f47026; GFX11-FLATSCR-NEXT:    scratch_load_b32 v0, v33, off7027; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v29, 0xbf523be17028; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v32, 0x3f3d349c7029; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v24, v217030; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[4:7], off offset:8327031; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v7, 0x3703c499 :: v_dual_mov_b32 v16, v287032; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[29:32], off offset:7847033; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v31, 0xbf5f2ee2 :: v_dual_mov_b32 v32, v267034; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v23, v257035; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v25, v26 :: v_dual_mov_b32 v18, v127036; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v20, v17 :: v_dual_mov_b32 v21, v37037; GFX11-FLATSCR-NEXT:    s_clause 0x17038; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[29:32], off offset:7527039; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[13:16], off offset:7367040; GFX11-FLATSCR-NEXT:    v_dual_mov_b32 v5, v8 :: v_dual_mov_b32 v14, v177041; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v4, v77042; GFX11-FLATSCR-NEXT:    v_mov_b32_e32 v13, v197043; GFX11-FLATSCR-NEXT:    s_clause 0x47044; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[7:10], off offset:8167045; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[18:21], off offset:8007046; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[22:25], off offset:7687047; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[3:6], off offset:7207048; GFX11-FLATSCR-NEXT:    scratch_store_b128 off, v[11:14], off offset:7047049; GFX11-FLATSCR-NEXT:    scratch_load_b32 v1, v33, off offset:5127050; GFX11-FLATSCR-NEXT:    s_mov_b32 s2, s57051; GFX11-FLATSCR-NEXT:    s_waitcnt vmcnt(0)7052; GFX11-FLATSCR-NEXT:    v_add_f32_e32 v0, v0, v17053; GFX11-FLATSCR-NEXT:    ; return to shader part epilog7054  %v1 = extractelement <81 x float> <float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float 0x3FE41CFEA0000000, float 0xBFE7A693C0000000, float 0xBFEA477C60000000, float 0xBFEBE5DC60000000, float 0xBFEC71C720000000, float 0xBFEBE5DC60000000, float 0xBFEA477C60000000, float 0xBFE7A693C0000000, float 0xBFE41CFEA0000000, float 0x3FDF9B13E0000000, float 0x3FDF9B1380000000, float 0x3FD5C53B80000000, float 0x3FD5C53B00000000, float 0x3FC6326AC0000000, float 0x3FC63269E0000000, float 0xBEE05CEB00000000, float 0xBEE086A320000000, float 0xBFC63269E0000000, float 0xBFC6326AC0000000, float 0xBFD5C53B80000000, float 0xBFD5C53B80000000, float 0xBFDF9B13E0000000, float 0xBFDF9B1460000000, float 0xBFE41CFE80000000, float 0x3FE7A693C0000000, float 0x3FEA477C20000000, float 0x3FEBE5DC40000000, float 0x3FEC71C6E0000000, float 0x3FEBE5DC40000000, float 0x3FEA477C20000000, float 0x3FE7A693C0000000, float 0xBFE41CFE80000000>, i32 %idx7055  %v2 = extractelement <81 x float> <float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float 0xBFE41CFEA0000000, float 0xBFDF9B13E0000000, float 0xBFD5C53B80000000, float 0xBFC6326AC0000000, float 0x3EE0789320000000, float 0x3FC6326AC0000000, float 0x3FD5C53B80000000, float 0x3FDF9B13E0000000, float 0x3FE41CFEA0000000, float 0xBFE7A693C0000000, float 0x3FE7A693C0000000, float 0xBFEA477C20000000, float 0x3FEA477C20000000, float 0xBFEBE5DC40000000, float 0x3FEBE5DC40000000, float 0xBFEC71C720000000, float 0x3FEC71C6E0000000, float 0xBFEBE5DC60000000, float 0x3FEBE5DC40000000, float 0xBFEA477C20000000, float 0x3FEA477C20000000, float 0xBFE7A693C0000000, float 0x3FE7A69380000000, float 0xBFE41CFEA0000000, float 0xBFDF9B13E0000000, float 0xBFD5C53B80000000, float 0xBFC6326AC0000000, float 0x3EE0789320000000, float 0x3FC6326AC0000000, float 0x3FD5C53B80000000, float 0x3FDF9B13E0000000, float 0x3FE41CFE80000000>, i32 %idx7056  %f = fadd float %v1, %v27057  %r1 = insertvalue <{i32, i32, i32, float}> poison, i32 %swo, 27058  %r2 = insertvalue <{i32, i32, i32, float}> %r1, float %f, 37059  ret <{i32, i32, i32, float}> %r27060}7061;; NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line:7062; FLATSCR: {{.*}}7063; GCN: {{.*}}7064; GFX9PLUS: {{.*}}7065; GFX9_10-MUBUF: {{.*}}7066; MUBUF: {{.*}}7067; SIVI: {{.*}}7068