[PATCH] D52320: AMDGPU: add __builtin_amdgcn_update_dpp

Matt Arsenault via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 24 07:21:37 PDT 2018


arsenm added inline comments.


================
Comment at: lib/CodeGen/CGBuiltin.cpp:11313-11315
+  case AMDGPU::BI__builtin_amdgcn_update_dpp: {
+    llvm::SmallVector<llvm::Value *, 6> Args;
+    for (unsigned I = 0; I != 6; ++I)
----------------
The only difference between this and mov_dpp is the argument count and the intrinsic ID, so you can combine the cases


https://reviews.llvm.org/D52320





More information about the cfe-commits mailing list