[PATCH] D143963: AMDGPU: Override getNegatedExpression constant handling

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 16 05:55:27 PST 2023


foad added a comment.

An excerpt from the infinite debug output:

  Combining: t7: ch,glue = CopyToReg # D:1 t0, Register:f32 $vgpr0, t3103
  
  Combining: t3103: f32 = fsub # D:1 ConstantFP:f32<0.000000e+00>, t3102
  Creating fp constant: t3104: f32 = ConstantFP<-0.000000e+00>
  Creating new node: t3105: f32 = fmul # D:1 t2, ConstantFP:f32<-0.000000e+00>
  Creating new node: t3106: f32 = fadd # D:1 t3105, ConstantFP:f32<0.000000e+00>
   ... into: t3106: f32 = fadd # D:1 t3105, ConstantFP:f32<0.000000e+00>
  
  Combining: t7: ch,glue = CopyToReg # D:1 t0, Register:f32 $vgpr0, t3106
  
  Combining: t3106: f32 = fadd # D:1 t3105, ConstantFP:f32<0.000000e+00>
  Creating new node: t3107: f32 = fmul # D:1 t2, ConstantFP:f32<0.000000e+00>
  Creating new node: t3108: f32 = fsub # D:1 ConstantFP:f32<0.000000e+00>, t3107
   ... into: t3108: f32 = fsub # D:1 ConstantFP:f32<0.000000e+00>, t3107


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D143963/new/

https://reviews.llvm.org/D143963



More information about the llvm-commits mailing list