[PATCH] D31490: Support arbitrary address space pointers in masked gather/scatter intrinsics

Elena Demikhovsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 19 06:41:36 PDT 2017


delena added inline comments.


================
Comment at: lib/IR/Function.cpp:724
+    OutputTable.push_back(IITDescriptor::get(IITDescriptor::VecOfAnyPtrsToElt,
+                                             (ArgNo << 16 | RefNo)));
     return;
----------------
This is one more place where I suggest to replace the hardcoded "shift" with a method.


https://reviews.llvm.org/D31490





More information about the llvm-commits mailing list