[PATCH] D94777: [AMDGPU][MC] Refactored parsing of dpp ctrl

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 15 10:53:11 PST 2021


rampitec added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp:7332
+    if (Temp < 0 || Temp > 3) {
+      Error(Loc, "expected a 2-bit value");
+      return -1;
----------------
getLoc()? Loc is a single use variable.


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

https://reviews.llvm.org/D94777



More information about the llvm-commits mailing list