[PATCH] D145622: [test] Remove occurences of br undef in CodeGen/AMDGPU tests

Kriti Gupta via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 8 15:39:39 PST 2023


kritgpt created this revision.
Herald added subscribers: kosarev, wenlei, kerbowa, tpr, dstuttard, yaxunl, jvesely, kzhuravl, qcolombet, MatzeB.
Herald added a project: All.
kritgpt requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

This patch removes br undef as suggested by https://discourse.llvm.org/t/please-dont-use-br-undef-in-tests-aka-please-avoid-test-cases-with-ub/63115. Script used: https://gist.github.com/kritgpt/69bfc7ef78e1784716c693d531a58adf.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D145622

Files:
  llvm/test/CodeGen/AMDGPU/GlobalISel/br-constant-invalid-sgpr-copy.ll
  llvm/test/CodeGen/AMDGPU/agpr-copy-no-free-registers.ll
  llvm/test/CodeGen/AMDGPU/bug-vopc-commute.ll
  llvm/test/CodeGen/AMDGPU/cf-loop-on-constant.ll
  llvm/test/CodeGen/AMDGPU/cgp-bitfield-extract.ll
  llvm/test/CodeGen/AMDGPU/coalescer_distribute.ll
  llvm/test/CodeGen/AMDGPU/combine-add-zext-xor.ll
  llvm/test/CodeGen/AMDGPU/dagcomb-shuffle-vecextend-non2.ll
  llvm/test/CodeGen/AMDGPU/early-if-convert.ll
  llvm/test/CodeGen/AMDGPU/extract-subvector-16bit.ll
  llvm/test/CodeGen/AMDGPU/extract-subvector.ll
  llvm/test/CodeGen/AMDGPU/i1-copy-implicit-def.ll
  llvm/test/CodeGen/AMDGPU/i1-copy-phi.ll
  llvm/test/CodeGen/AMDGPU/implicit-def-muse.ll
  llvm/test/CodeGen/AMDGPU/infinite-loop.ll
  llvm/test/CodeGen/AMDGPU/inline-asm.ll
  llvm/test/CodeGen/AMDGPU/ipra-return-address-save-restore.ll
  llvm/test/CodeGen/AMDGPU/large-constant-initializer.ll
  llvm/test/CodeGen/AMDGPU/mdt-preserving-crash.ll
  llvm/test/CodeGen/AMDGPU/mfma-cd-select.ll
  llvm/test/CodeGen/AMDGPU/noclobber-barrier.ll
  llvm/test/CodeGen/AMDGPU/promote-alloca-to-lds-phi.ll
  llvm/test/CodeGen/AMDGPU/promote-alloca-to-lds-select.ll
  llvm/test/CodeGen/AMDGPU/reg-coalescer-sched-crash.ll
  llvm/test/CodeGen/AMDGPU/rename-disconnected-bug.ll
  llvm/test/CodeGen/AMDGPU/si-annotate-cf-noloop.ll
  llvm/test/CodeGen/AMDGPU/si-annotate-cf-unreachable.ll
  llvm/test/CodeGen/AMDGPU/si-spill-cf.ll
  llvm/test/CodeGen/AMDGPU/simplifydemandedbits-recursion.ll
  llvm/test/CodeGen/AMDGPU/sink-image-sample.ll
  llvm/test/CodeGen/AMDGPU/skip-if-dead.ll
  llvm/test/CodeGen/AMDGPU/smrd.ll
  llvm/test/CodeGen/AMDGPU/split-smrd.ll
  llvm/test/CodeGen/AMDGPU/subreg-coalescer-crash.ll
  llvm/test/CodeGen/AMDGPU/switch-default-block-unreachable.ll
  llvm/test/CodeGen/AMDGPU/undefined-subreg-liverange.ll
  llvm/test/CodeGen/AMDGPU/unhandled-loop-condition-assertion.ll
  llvm/test/CodeGen/AMDGPU/uniform-cfg.ll
  llvm/test/CodeGen/AMDGPU/uniform-crash.ll
  llvm/test/CodeGen/AMDGPU/v1024.ll
  llvm/test/CodeGen/AMDGPU/vgpr-liverange-ir.ll
  llvm/test/CodeGen/AMDGPU/wave32.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145622.503546.patch
Type: text/x-patch
Size: 63352 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230308/cdb88473/attachment.bin>


More information about the llvm-commits mailing list