[PATCH] D145292: [test] Remove occurences of br undef in various llvm tests

Kriti Gupta via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 3 19:47:06 PST 2023


kritgpt created this revision.
Herald added subscribers: kmitropoulou, kosarev, mattd, gchakrabarti, pmatos, asb, asavonic, wenlei, okura, kuter, kerbowa, pengfei, dmgreen, Jim, asbirlea, arphaman, atanasyan, zzheng, jrtc27, javed.absar, fedor.sergeev, kbarton, jgravelle-google, sbc100, jvesely, nemanjai, sdardis, dylanmckay, jyknight, dschuff, qcolombet, MatzeB.
Herald added a reviewer: ributzka.
Herald added a project: All.
kritgpt requested review of this revision.
Herald added subscribers: llvm-commits, pcwang-thead, aheejin, jholewinski.
Herald added a reviewer: jdoerfert.
Herald added a reviewer: sstefan1.
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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D145292

Files:
  llvm/test/Analysis/BasicAA/phi-values-usage.ll
  llvm/test/Analysis/BasicAA/underlying-value.ll
  llvm/test/Analysis/BlockFrequencyInfo/irreducible_loop_crash.ll
  llvm/test/Analysis/BranchProbabilityInfo/deopt-invoke.ll
  llvm/test/Analysis/BranchProbabilityInfo/loop.ll
  llvm/test/Analysis/BranchProbabilityInfo/unreachable.ll
  llvm/test/Analysis/CostModel/AMDGPU/control-flow.ll
  llvm/test/Analysis/CostModel/SystemZ/intrinsic-cost-crash.ll
  llvm/test/Analysis/CycleInfo/basic.ll
  llvm/test/Analysis/Delinearization/type_mismatch.ll
  llvm/test/Analysis/Delinearization/undef.ll
  llvm/test/Analysis/DependenceAnalysis/MIVCheckConst.ll
  llvm/test/Analysis/DependenceAnalysis/NonAffineExpr.ll
  llvm/test/Analysis/DivergenceAnalysis/AMDGPU/join-at-loop-heart.ll
  llvm/test/Analysis/Dominators/basic.ll
  llvm/test/Analysis/Dominators/print-dot-dom.ll
  llvm/test/Analysis/MemorySSA/cyclicphi.ll
  llvm/test/Analysis/MemorySSA/debugvalue.ll
  llvm/test/Analysis/MemorySSA/debugvalue2.ll
  llvm/test/Analysis/MemorySSA/forward-unreachable.ll
  llvm/test/Analysis/MemorySSA/function-clobber.ll
  llvm/test/Analysis/MemorySSA/invariant-groups.ll
  llvm/test/Analysis/MemorySSA/loop-rotate-disablebasicaa.ll
  llvm/test/Analysis/MemorySSA/loop-rotate-valuemap.ll
  llvm/test/Analysis/MemorySSA/phi-translation.ll
  llvm/test/Analysis/MemorySSA/pr28880.ll
  llvm/test/Analysis/MemorySSA/pr40749_2.ll
  llvm/test/Analysis/MemorySSA/pr43641.ll
  llvm/test/Analysis/MemorySSA/renamephis.ll
  llvm/test/Analysis/MemorySSA/unreachable.ll
  llvm/test/Analysis/MemorySSA/update_unroll.ll
  llvm/test/Analysis/PhiValues/basic.ll
  llvm/test/Analysis/PhiValues/long_phi_chain.ll
  llvm/test/Analysis/PostDominators/pr6047_a.ll
  llvm/test/Analysis/PostDominators/pr6047_b.ll
  llvm/test/Analysis/PostDominators/pr6047_c.ll
  llvm/test/Analysis/PostDominators/pr6047_d.ll
  llvm/test/Analysis/ScalarEvolution/2011-04-26-FoldAddRec.ll
  llvm/test/Analysis/ScalarEvolution/SolveQuadraticEquation.ll
  llvm/test/Analysis/ScalarEvolution/avoid-infinite-recursion-0.ll
  llvm/test/Analysis/ScalarEvolution/avoid-infinite-recursion-1.ll
  llvm/test/Analysis/ScalarEvolution/different-loops-recs.ll
  llvm/test/Analysis/ScalarEvolution/expander-replace-congruent-ivs.ll
  llvm/test/Analysis/ScalarEvolution/how-far-to-zero.ll
  llvm/test/Analysis/ScalarEvolution/overflow-intrinsics-trip-count.ll
  llvm/test/Analysis/ScalarEvolution/pointer-sign-bits.ll
  llvm/test/Analysis/ScalarEvolution/pr22674.ll
  llvm/test/Analysis/ScalarEvolution/pr22856.ll
  llvm/test/Analysis/ScalarEvolution/pr25369.ll
  llvm/test/Analysis/ScalarEvolution/scev-aa.ll
  llvm/test/Analysis/ScalarEvolution/scev-canonical-mode.ll
  llvm/test/Analysis/ScalarEvolution/scev-invalid.ll
  llvm/test/Analysis/ScalarEvolution/shift-recurrences.ll
  llvm/test/Analysis/ValueTracking/memory-dereferenceable.ll
  llvm/test/Analysis/ValueTracking/shift-recurrence-knownbits.ll
  llvm/test/Assembler/atomicrmw.ll
  llvm/test/CodeGen/AArch64/GlobalISel/arm64-irtranslator-switch.ll
  llvm/test/CodeGen/AArch64/GlobalISel/irtranslator-extract-used-by-dbg.ll
  llvm/test/CodeGen/AArch64/GlobalISel/irtranslator-indirect-br-repeated-block.ll
  llvm/test/CodeGen/AArch64/aarch64-address-type-promotion-assertion.ll
  llvm/test/CodeGen/AArch64/arm64-2011-03-09-CPSRSpill.ll
  llvm/test/CodeGen/AArch64/arm64-2011-03-17-AsmPrinterCrash.ll
  llvm/test/CodeGen/AArch64/arm64-2011-04-21-CPSRBug.ll
  llvm/test/CodeGen/AArch64/arm64-2012-01-11-ComparisonDAGCrash.ll
  llvm/test/CodeGen/AArch64/arm64-2012-07-11-InstrEmitterBug.ll
  llvm/test/CodeGen/AArch64/arm64-2013-01-23-frem-crash.ll
  llvm/test/CodeGen/AArch64/arm64-2013-01-23-sext-crash.ll
  llvm/test/CodeGen/AArch64/arm64-bitfield-extract.ll
  llvm/test/CodeGen/AArch64/arm64-call-tailcalls.ll
  llvm/test/CodeGen/AArch64/arm64-collect-loh.ll
  llvm/test/CodeGen/AArch64/arm64-dead-register-def-bug.ll
  llvm/test/CodeGen/AArch64/arm64-early-ifcvt.ll
  llvm/test/CodeGen/AArch64/arm64-fast-isel.ll
  llvm/test/CodeGen/AArch64/arm64-shrink-wrapping.ll
  llvm/test/CodeGen/AArch64/arm64-storebytesmerge.ll
  llvm/test/CodeGen/AArch64/br-to-eh-lpad.ll
  llvm/test/CodeGen/AArch64/br-undef-cond.ll
  llvm/test/CodeGen/AArch64/gep-nullptr.ll
  llvm/test/CodeGen/AArch64/inline-asm-blockaddress.ll
  llvm/test/CodeGen/AArch64/madd-combiner.ll
  llvm/test/CodeGen/AArch64/optimize-cond-branch.ll
  llvm/test/CodeGen/AArch64/shrink-wrap.ll
  llvm/test/CodeGen/AArch64/tail-call-unused-zext.ll
  llvm/test/CodeGen/AArch64/tailcall-ssp-split-debug.ll
  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
  llvm/test/CodeGen/ARM/2009-06-02-ISelCrash.ll
  llvm/test/CodeGen/ARM/2009-06-04-MissingLiveIn.ll
  llvm/test/CodeGen/ARM/2009-06-15-RegScavengerAssert.ll
  llvm/test/CodeGen/ARM/2009-06-19-RegScavengerAssert.ll
  llvm/test/CodeGen/ARM/2009-06-22-CoalescerBug.ll
  llvm/test/CodeGen/ARM/2009-06-30-RegScavengerAssert.ll
  llvm/test/CodeGen/ARM/2009-06-30-RegScavengerAssert2.ll
  llvm/test/CodeGen/ARM/2009-06-30-RegScavengerAssert3.ll
  llvm/test/CodeGen/ARM/2009-06-30-RegScavengerAssert4.ll
  llvm/test/CodeGen/ARM/2009-06-30-RegScavengerAssert5.ll
  llvm/test/CodeGen/ARM/2009-07-01-CommuteBug.ll
  llvm/test/CodeGen/ARM/2009-07-22-ScavengerAssert.ll
  llvm/test/CodeGen/ARM/2009-07-22-SchedulerAssert.ll
  llvm/test/CodeGen/ARM/2009-07-29-VFP3Registers.ll
  llvm/test/CodeGen/ARM/2009-08-04-RegScavengerAssert-2.ll
  llvm/test/CodeGen/ARM/2009-08-04-RegScavengerAssert.ll
  llvm/test/CodeGen/ARM/2009-08-15-RegScavenger-EarlyClobber.ll
  llvm/test/CodeGen/ARM/2009-08-21-PostRAKill.ll
  llvm/test/CodeGen/ARM/2009-08-27-ScalarToVector.ll
  llvm/test/CodeGen/ARM/2009-08-29-ExtractEltf32.ll
  llvm/test/CodeGen/ARM/2009-09-13-InvalidSubreg.ll
  llvm/test/CodeGen/ARM/2009-09-20-LiveIntervalsBug.ll
  llvm/test/CodeGen/ARM/2009-09-22-LiveVariablesBug.ll
  llvm/test/CodeGen/ARM/2009-10-02-NEONSubregsBug.ll
  llvm/test/CodeGen/ARM/2009-11-02-NegativeLane.ll
  llvm/test/CodeGen/ARM/2009-11-13-CoalescerCrash.ll
  llvm/test/CodeGen/ARM/2009-11-13-ScavengerAssert.ll
  llvm/test/CodeGen/ARM/2009-11-13-ScavengerAssert2.ll
  llvm/test/CodeGen/ARM/2009-11-13-VRRewriterCrash.ll
  llvm/test/CodeGen/ARM/2010-03-04-eabi-fp-spill.ll
  llvm/test/CodeGen/ARM/2010-03-04-stm-undef-addr.ll
  llvm/test/CodeGen/ARM/2010-04-09-NeonSelect.ll
  llvm/test/CodeGen/ARM/2010-04-14-SplitVector.ll
  llvm/test/CodeGen/ARM/2010-05-17-FastAllocCrash.ll
  llvm/test/CodeGen/ARM/2010-05-18-LocalAllocCrash.ll
  llvm/test/CodeGen/ARM/2010-06-21-LdStMultipleBug.ll
  llvm/test/CodeGen/ARM/2010-09-21-OptCmpBug.ll
  llvm/test/CodeGen/ARM/2010-11-15-SpillEarlyClobber.ll
  llvm/test/CodeGen/ARM/2011-02-07-AntidepClobber.ll
  llvm/test/CodeGen/ARM/2011-03-10-DAGCombineCrash.ll
  llvm/test/CodeGen/ARM/2011-04-27-IfCvtBug.ll
  llvm/test/CodeGen/ARM/2011-08-29-ldr_pre_imm.ll
  llvm/test/CodeGen/ARM/2011-09-19-cpsr.ll
  llvm/test/CodeGen/ARM/2011-12-14-machine-sink.ll
  llvm/test/CodeGen/ARM/2012-01-23-PostRA-LICM.ll
  llvm/test/CodeGen/ARM/2012-01-24-RegSequenceLiveRange.ll
  llvm/test/CodeGen/ARM/2012-01-26-CopyPropKills.ll
  llvm/test/CodeGen/ARM/2012-03-05-FPSCR-bug.ll
  llvm/test/CodeGen/ARM/2012-04-02-TwoAddrInstrCrash.ll
  llvm/test/CodeGen/ARM/2012-04-10-DAGCombine.ll
  llvm/test/CodeGen/ARM/2012-04-24-SplitEHCriticalEdge.ll
  llvm/test/CodeGen/ARM/2012-05-29-TailDupBug.ll
  llvm/test/CodeGen/ARM/2012-08-04-DtripleSpillReload.ll
  llvm/test/CodeGen/ARM/2013-07-29-vector-or-combine.ll
  llvm/test/CodeGen/ARM/2016-05-01-RegScavengerAssert.ll
  llvm/test/CodeGen/ARM/analyze-branch-bkpt.ll
  llvm/test/CodeGen/ARM/arm-frame-lowering-no-terminator.ll
  llvm/test/CodeGen/ARM/arm-shrink-wrapping.ll
  llvm/test/CodeGen/ARM/call-tc.ll
  llvm/test/CodeGen/ARM/coalesce-subregs.ll
  llvm/test/CodeGen/ARM/crash-greedy-v6.ll
  llvm/test/CodeGen/ARM/crash-greedy.ll
  llvm/test/CodeGen/ARM/crash.ll
  llvm/test/CodeGen/ARM/debug-info-qreg.ll
  llvm/test/CodeGen/ARM/fcmp-xo.ll
  llvm/test/CodeGen/ARM/i1.ll
  llvm/test/CodeGen/ARM/ifcvt-branch-weight-bug.ll
  llvm/test/CodeGen/ARM/ifcvt10.ll
  llvm/test/CodeGen/ARM/ifcvt9.ll
  llvm/test/CodeGen/ARM/interval-update-remat.ll
  llvm/test/CodeGen/ARM/ldrcppic.ll
  llvm/test/CodeGen/ARM/machine-sink-multidef.ll
  llvm/test/CodeGen/ARM/pr13249.ll
  llvm/test/CodeGen/ARM/pr25838.ll
  llvm/test/CodeGen/ARM/reg_sequence.ll
  llvm/test/CodeGen/ARM/splitkit.ll
  llvm/test/CodeGen/ARM/unschedule-first-call.ll
  llvm/test/CodeGen/ARM/v8m.base-jumptable_alignment.ll
  llvm/test/CodeGen/ARM/vector-DAGCombine.ll
  llvm/test/CodeGen/ARM/vmul.ll
  llvm/test/CodeGen/AVR/issue-regalloc-stackframe-folding-earlyclobber.ll
  llvm/test/CodeGen/AVR/pre-schedule.ll
  llvm/test/CodeGen/AVR/rust-avr-bug-112.ll
  llvm/test/CodeGen/AVR/rust-avr-bug-99.ll
  llvm/test/CodeGen/Generic/2009-11-16-BadKillsCrash.ll
  llvm/test/CodeGen/Generic/2011-01-06-BigNumberCrash.ll
  llvm/test/CodeGen/Generic/crash.ll
  llvm/test/CodeGen/Generic/edge-bundles-blockIDs.ll
  llvm/test/CodeGen/Generic/zero-sized-array.ll
  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
  (651 more files...)



More information about the llvm-commits mailing list