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

Jon Chesterfield via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 13 07:31:51 PDT 2021


JonChesterfield added a comment.

Note to self about the test updating process.

The utils/update_test_checks.py script reads the ; RUN commands and emits new check statements based on the --check-prefixes string. When changing the prefix it doesn't remove the old ones, but the test format is predictable enough that grep -v '; CHECK' does the right thing.

Process for updating tests was to duplicate the run line, giving different triple and prefix for amdgpu and nvptx. Also added `--data-layout=A5` for alloca in addrspace 5 for amdgpu, copied from some other tests that don't set the whole datalayout. Then delete all the existing CHECK prefixes. Then run `./utils/update_test_checks.py test/Transforms/OpenMP/spmdization.ll --opt-binary=$HOME/llvm-install/bin/opt` as that's where I install opt locally.


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