This is based on https://reviews.llvm.org/D127530
Add global isel support for {G_FADD, G_FSUB, G_FMUL, G_FDIV}
 Differential  D132942  
[PowerPC][GISel]add support for float point arithmetic operations Authored by shchenz on Aug 30 2022, 7:44 AM. 
Details 
 This is based on https://reviews.llvm.org/D127530 Add global isel support for {G_FADD, G_FSUB, G_FMUL, G_FDIV} 
Diff Detail 
 Event TimelineComment Actions LGTM with the message in the assert changed. 
 Comment Actions This patch may not actually require code changes, but I would like to have the questions I posted answered before I feel confident letting it go in. 
 
 
 Comment Actions address comments 
 
 
 Comment Actions 
 
 Comment Actions Thanks for answering my questions and addressing the comments I left. 
 
  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
It seems that this function does something sensible in 3 of 4 possible situations:
Why do we behave this way for 4. above?