[PATCH] D138563: [IntrisicEmitter] Allow intrinsic types to be dependent on the data layout

Alexander Richardson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 25 01:24:51 PST 2022


arichardson added inline comments.


================
Comment at: llvm/lib/IR/Function.cpp:1314
+    case 'G':
+      return DL.getProgramAddressSpace();
+    case 'P':
----------------
'G' and 'P' are the wrong way around.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D138563



More information about the llvm-commits mailing list