[llvm] AMDGPU/GlobalISel: Partially move constant selection to patterns (PR #100786)
Joe Nash via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 29 10:57:50 PDT 2024
================
@@ -8,9 +8,9 @@ define double @v_floor_f64_ieee(double %x) {
; GFX6: ; %bb.0:
; GFX6-NEXT: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
; GFX6-NEXT: v_fract_f64_e32 v[2:3], v[0:1]
-; GFX6-NEXT: s_mov_b32 s4, -1
-; GFX6-NEXT: s_mov_b32 s5, 0x3fefffff
-; GFX6-NEXT: v_min_f64 v[2:3], v[2:3], s[4:5]
+; GFX6-NEXT: v_mov_b32_e32 v4, -1
----------------
Sisyph wrote:
Is this a regression, to use vgprs instead of sgprs?
https://github.com/llvm/llvm-project/pull/100786
More information about the llvm-commits
mailing list