[PATCH] D81742: AMDGPU/GlobalISel: Fix asserts on non-s32 sitofp/uitofp sources

Nicolai Hähnle via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 23 05:17:26 PDT 2020


nhaehnle accepted this revision.
nhaehnle added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: llvm/lib/Target/AMDGPU/AMDGPUPostLegalizerCombiner.cpp:160
+  if (SrcTy != S32)
+    SrcReg = B.buildAnyExtOrTrunc(S32,SrcReg).getReg(0);
 
----------------
Missing space after the comma


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

https://reviews.llvm.org/D81742





More information about the llvm-commits mailing list