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

Kriti Gupta via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 11 12:48:15 PDT 2023


kritgpt created this revision.
Herald added subscribers: kosarev, kerbowa, tpr, dstuttard, yaxunl, jvesely, kzhuravl.
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 trivial occurences of 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/D148041

Files:
  llvm/test/CodeGen/AMDGPU/coalescer_distribute.ll
  llvm/test/CodeGen/AMDGPU/extract-subvector.ll
  llvm/test/CodeGen/AMDGPU/i1-copy-phi.ll
  llvm/test/CodeGen/AMDGPU/implicit-def-muse.ll
  llvm/test/CodeGen/AMDGPU/inline-asm.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/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-unreachable.ll
  llvm/test/CodeGen/AMDGPU/simplifydemandedbits-recursion.ll
  llvm/test/CodeGen/AMDGPU/switch-default-block-unreachable.ll
  llvm/test/CodeGen/AMDGPU/uniform-crash.ll
  llvm/test/CodeGen/AMDGPU/v1024.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148041.512555.patch
Type: text/x-patch
Size: 21085 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230411/0a97930e/attachment.bin>


More information about the llvm-commits mailing list