[PATCH] D33212: AMDGPU/GlobalISel: Mark 32-bit float constants as legal

Tom Stellard via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 16 06:57:14 PDT 2017


tstellar added inline comments.


================
Comment at: lib/Target/AMDGPU/SIInstrInfo.cpp:2118-2120
+
+  if (SIInstrInfo::isGenericOpcode(MI.getOpcode()))
+    return true;
----------------
arsenm wrote:
> Why is this necessary? It looks like a separate change
The verifier rejects G_FCONSTANT instructions,  because they have FPImm operands.


https://reviews.llvm.org/D33212





More information about the llvm-commits mailing list