[PATCH] D69581: AMDGPU/GlobalISel: Legalize FDIV32

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 29 14:56:49 PDT 2019


arsenm added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp:2001
+      .addImm(SPDenormMode)
+      .addUse(ModeRegBitField.getReg(0));
+  }
----------------
This is also an immediate field. You could alternatively use S_SETREG_B32 which does use the register


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D69581





More information about the llvm-commits mailing list