[PATCH] D145630: [test] Remove occurences of br undef in CodeGen/Hexagon tests

Kriti Gupta via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 8 16:29:25 PST 2023


kritgpt created this revision.
Herald added subscribers: arphaman, qcolombet, MatzeB.
Herald added a project: All.
kritgpt requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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/D145630

Files:
  llvm/test/CodeGen/Hexagon/Halide_vec_cast_trunc1.ll
  llvm/test/CodeGen/Hexagon/Halide_vec_cast_trunc2.ll
  llvm/test/CodeGen/Hexagon/NVJumpCmp.ll
  llvm/test/CodeGen/Hexagon/addrmode-keepdeadphis.ll
  llvm/test/CodeGen/Hexagon/always-ext.ll
  llvm/test/CodeGen/Hexagon/autohvx/isel-bitcast-vsplat.ll
  llvm/test/CodeGen/Hexagon/autohvx/isel-const-splat-imm.ll
  llvm/test/CodeGen/Hexagon/autohvx/vector-align-rescale-nonint.ll
  llvm/test/CodeGen/Hexagon/autohvx/vector-align-scalar-mask.ll
  llvm/test/CodeGen/Hexagon/autohvx/vector-align-store-mask.ll
  llvm/test/CodeGen/Hexagon/avoid-predspill-calleesaved.ll
  llvm/test/CodeGen/Hexagon/base-offset-stv4.ll
  llvm/test/CodeGen/Hexagon/bit-bitsplit-regclass.ll
  llvm/test/CodeGen/Hexagon/bit-has.ll
  llvm/test/CodeGen/Hexagon/bit-loop-rc-mismatch.ll
  llvm/test/CodeGen/Hexagon/bit-phi.ll
  llvm/test/CodeGen/Hexagon/bit-visit-flowq.ll
  llvm/test/CodeGen/Hexagon/block-ranges-nodef.ll
  llvm/test/CodeGen/Hexagon/branchfolder-keep-impdef.ll
  llvm/test/CodeGen/Hexagon/bug17386.ll
  llvm/test/CodeGen/Hexagon/bug31839.ll
  llvm/test/CodeGen/Hexagon/call-ret-i1.ll
  llvm/test/CodeGen/Hexagon/callR_noreturn.ll
  llvm/test/CodeGen/Hexagon/cfgopt-fall-through.ll
  llvm/test/CodeGen/Hexagon/cmp-extend.ll
  llvm/test/CodeGen/Hexagon/const-pool-tf.ll
  llvm/test/CodeGen/Hexagon/convert-to-dot-old.ll
  llvm/test/CodeGen/Hexagon/csr-func-usedef.ll
  llvm/test/CodeGen/Hexagon/dag-indexed.ll
  llvm/test/CodeGen/Hexagon/def-undef-deps.ll
  llvm/test/CodeGen/Hexagon/early-if-vecpred.ll
  llvm/test/CodeGen/Hexagon/expand-condsets-copy-lis.ll
  llvm/test/CodeGen/Hexagon/expand-condsets-dead-bad.ll
  llvm/test/CodeGen/Hexagon/expand-condsets-dead.ll
  llvm/test/CodeGen/Hexagon/expand-condsets-extend.ll
  llvm/test/CodeGen/Hexagon/expand-condsets-undef.ll
  llvm/test/CodeGen/Hexagon/expand-condsets-undef2.ll
  llvm/test/CodeGen/Hexagon/expand-condsets-undefvni.ll
  llvm/test/CodeGen/Hexagon/expand-vstorerw-undef2.ll
  llvm/test/CodeGen/Hexagon/find-loop-instr.ll
  llvm/test/CodeGen/Hexagon/find-loop.ll
  llvm/test/CodeGen/Hexagon/frame-offset-overflow.ll
  llvm/test/CodeGen/Hexagon/getBlockAddress.ll
  llvm/test/CodeGen/Hexagon/hexagon-tfr-add.ll
  llvm/test/CodeGen/Hexagon/hexagon_vector_loop_carried_reuse_invalid.ll
  llvm/test/CodeGen/Hexagon/hvx-bitcast-v64i1.ll
  llvm/test/CodeGen/Hexagon/hvx-loopidiom-memcpy.ll
  llvm/test/CodeGen/Hexagon/hwloop-ph-deadcode.ll
  llvm/test/CodeGen/Hexagon/hwloop-phi-subreg.ll
  llvm/test/CodeGen/Hexagon/hwloop-preheader.ll
  llvm/test/CodeGen/Hexagon/hwloop-subreg.ll
  llvm/test/CodeGen/Hexagon/hwloop-swap.ll
  llvm/test/CodeGen/Hexagon/hwloop-wrap2.ll
  llvm/test/CodeGen/Hexagon/ignore-terminal-mbb.ll
  llvm/test/CodeGen/Hexagon/invalid-memrefs.ll
  llvm/test/CodeGen/Hexagon/is-legal-void.ll
  llvm/test/CodeGen/Hexagon/isel-simplify-crash.ll
  llvm/test/CodeGen/Hexagon/isel-v3i16.ll
  llvm/test/CodeGen/Hexagon/loop-idiom/lcssa.ll
  llvm/test/CodeGen/Hexagon/loop-idiom/nullptr-crash.ll
  llvm/test/CodeGen/Hexagon/loop-idiom/pmpy-long-loop.ll
  llvm/test/CodeGen/Hexagon/machine-sink.ll
  llvm/test/CodeGen/Hexagon/mipi-double-small.ll
  llvm/test/CodeGen/Hexagon/newvalueSameReg.ll
  llvm/test/CodeGen/Hexagon/newvaluejump-kill.ll
  llvm/test/CodeGen/Hexagon/newvaluejump3.ll
  llvm/test/CodeGen/Hexagon/opt-addr-mode-subreg-use.ll
  llvm/test/CodeGen/Hexagon/packetize-impdef-1.ll
  llvm/test/CodeGen/Hexagon/packetize-impdef.ll
  llvm/test/CodeGen/Hexagon/peephole-op-swap.ll
  llvm/test/CodeGen/Hexagon/postinc-offset.ll
  llvm/test/CodeGen/Hexagon/pred-taken-jump.ll
  llvm/test/CodeGen/Hexagon/rdf-copy-undef.ll
  llvm/test/CodeGen/Hexagon/rdf-copy-undef2.ll
  llvm/test/CodeGen/Hexagon/rdf-cover-use.ll
  llvm/test/CodeGen/Hexagon/rdf-extra-livein.ll
  llvm/test/CodeGen/Hexagon/rdf-ignore-undef.ll
  llvm/test/CodeGen/Hexagon/rdf-kill-last-op.ll
  llvm/test/CodeGen/Hexagon/rdf-multiple-phis-up.ll
  llvm/test/CodeGen/Hexagon/rdf-phi-shadows.ll
  llvm/test/CodeGen/Hexagon/rdf-reset-kills.ll
  llvm/test/CodeGen/Hexagon/redundant-branching2.ll
  llvm/test/CodeGen/Hexagon/reg-scavengebug-2.ll
  llvm/test/CodeGen/Hexagon/reg-scavengebug-4.ll
  llvm/test/CodeGen/Hexagon/reg-scavengebug-5.ll
  llvm/test/CodeGen/Hexagon/regalloc-block-overlap.ll
  llvm/test/CodeGen/Hexagon/registerscav-missing-spill-slot.ll
  llvm/test/CodeGen/Hexagon/registerscavenger-fail1.ll
  llvm/test/CodeGen/Hexagon/save-kill-csr.ll
  llvm/test/CodeGen/Hexagon/split-muxii.ll
  llvm/test/CodeGen/Hexagon/split-vecpred.ll
  llvm/test/CodeGen/Hexagon/stack-align-reset.ll
  llvm/test/CodeGen/Hexagon/store-vector-pred.ll
  llvm/test/CodeGen/Hexagon/swp-art-deps-rec.ll
  llvm/test/CodeGen/Hexagon/swp-badorder.ll
  llvm/test/CodeGen/Hexagon/swp-carried-1.ll
  llvm/test/CodeGen/Hexagon/swp-chain-refs.ll
  llvm/test/CodeGen/Hexagon/swp-change-dep-cycle.ll
  llvm/test/CodeGen/Hexagon/swp-change-dep.ll
  llvm/test/CodeGen/Hexagon/swp-const-tc1.ll
  llvm/test/CodeGen/Hexagon/swp-cse-phi.ll
  llvm/test/CodeGen/Hexagon/swp-dag-phi1.ll
  llvm/test/CodeGen/Hexagon/swp-dep-neg-offset.ll
  llvm/test/CodeGen/Hexagon/swp-epilog-phi12.ll
  llvm/test/CodeGen/Hexagon/swp-epilog-phi13.ll
  llvm/test/CodeGen/Hexagon/swp-epilog-phi8.ll
  llvm/test/CodeGen/Hexagon/swp-epilog-phi9.ll
  llvm/test/CodeGen/Hexagon/swp-epilog-reuse.ll
  llvm/test/CodeGen/Hexagon/swp-epilog-reuse2.ll
  llvm/test/CodeGen/Hexagon/swp-epilog-reuse3.ll
  llvm/test/CodeGen/Hexagon/swp-epilog-reuse4.ll
  llvm/test/CodeGen/Hexagon/swp-exit-fixup.ll
  llvm/test/CodeGen/Hexagon/swp-fix-last-use.ll
  llvm/test/CodeGen/Hexagon/swp-fix-last-use1.ll
  llvm/test/CodeGen/Hexagon/swp-intreglow8.ll
  llvm/test/CodeGen/Hexagon/swp-kernel-last-use.ll
  llvm/test/CodeGen/Hexagon/swp-large-rec.ll
  llvm/test/CodeGen/Hexagon/swp-loop-carried.ll
  llvm/test/CodeGen/Hexagon/swp-loopval.ll
  llvm/test/CodeGen/Hexagon/swp-maxstart.ll
  llvm/test/CodeGen/Hexagon/swp-more-phi.ll
  llvm/test/CodeGen/Hexagon/swp-multi-phi-refs.ll
  llvm/test/CodeGen/Hexagon/swp-order-carried.ll
  llvm/test/CodeGen/Hexagon/swp-order-deps1.ll
  llvm/test/CodeGen/Hexagon/swp-order-deps3.ll
  llvm/test/CodeGen/Hexagon/swp-order-prec.ll
  llvm/test/CodeGen/Hexagon/swp-phi-def-use.ll
  llvm/test/CodeGen/Hexagon/swp-phi-dep.ll
  llvm/test/CodeGen/Hexagon/swp-phi-order.ll
  llvm/test/CodeGen/Hexagon/swp-phi-ref.ll
  llvm/test/CodeGen/Hexagon/swp-phi-ref1.ll
  llvm/test/CodeGen/Hexagon/swp-phi-start.ll
  llvm/test/CodeGen/Hexagon/swp-physreg.ll
  llvm/test/CodeGen/Hexagon/swp-prolog-phi.ll
  llvm/test/CodeGen/Hexagon/swp-prolog-phi4.ll
  llvm/test/CodeGen/Hexagon/swp-regseq.ll
  llvm/test/CodeGen/Hexagon/swp-rename-dead-phi.ll
  llvm/test/CodeGen/Hexagon/swp-reuse-phi-1.ll
  llvm/test/CodeGen/Hexagon/swp-reuse-phi-2.ll
  llvm/test/CodeGen/Hexagon/swp-reuse-phi-4.ll
  llvm/test/CodeGen/Hexagon/swp-stages.ll
  llvm/test/CodeGen/Hexagon/swp-tfri.ll
  llvm/test/CodeGen/Hexagon/tail-dup-subreg-map.ll
  llvm/test/CodeGen/Hexagon/tied_oper.ll
  llvm/test/CodeGen/Hexagon/trunc-mpy.ll
  llvm/test/CodeGen/Hexagon/v6-unaligned-spill.ll
  llvm/test/CodeGen/Hexagon/v60-cur.ll
  llvm/test/CodeGen/Hexagon/v6vec_zero.ll
  llvm/test/CodeGen/Hexagon/vassign-to-combine.ll
  llvm/test/CodeGen/Hexagon/vcombine128_to_req_seq.ll
  llvm/test/CodeGen/Hexagon/vect-zero_extend.ll
  llvm/test/CodeGen/Hexagon/vect/vect-bitcast-1.ll
  llvm/test/CodeGen/Hexagon/vect/vect-bitcast.ll
  llvm/test/CodeGen/Hexagon/vect/vect-illegal-type.ll
  llvm/test/CodeGen/Hexagon/vect/vect-load.ll
  llvm/test/CodeGen/Hexagon/vect/vect-store-v2i16.ll
  llvm/test/CodeGen/Hexagon/vect/vect-truncate.ll
  llvm/test/CodeGen/Hexagon/vect/vect-zeroextend.ll
  llvm/test/CodeGen/Hexagon/vect/vsplat-v8i8.ll
  llvm/test/CodeGen/Hexagon/vselect-pseudo.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145630.503559.patch
Type: text/x-patch
Size: 182116 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230309/ff609735/attachment-0001.bin>


More information about the llvm-commits mailing list