[PATCH] D109500: [openmp] Fix 51647, corrupt bitcode on amdgpu

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 10 10:51:20 PDT 2021


jdoerfert added a comment.

In D109500#2994137 <https://reviews.llvm.org/D109500#2994137>, @JonChesterfield wrote:

> Datalayout seems necessary if we're going to key codegen off it. Amdgpu and nvptx use different datalayouts and I'm reluctant to duplicate the test so will try adding a simple datalayout that makes adequate sense for either, regenerate the tests based off that as one diff, then recreate this patch on top.

You can specify the target and the datalayout in the run command, no need to duplicate things: `--data-layout=`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D109500



More information about the llvm-commits mailing list