[all-commits] [llvm/llvm-project] 79ebc3: [llvm][test] rewrite callbr to use i rather than X...

Nick Desaulniers via All-commits all-commits at lists.llvm.org
Tue Jan 11 11:31:43 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 79ebc3b0dd130d759bf637c71c2a6aa039f0bd8f
      https://github.com/llvm/llvm-project/commit/79ebc3b0dd130d759bf637c71c2a6aa039f0bd8f
  Author: Nick Desaulniers <ndesaulniers at google.com>
  Date:   2022-01-11 (Tue, 11 Jan 2022)

  Changed paths:
    M llvm/test/Assembler/call-arg-is-callee.ll
    M llvm/test/Bitcode/callbr.ll
    M llvm/test/Bitcode/callbr.ll.bc
    M llvm/test/CodeGen/AArch64/callbr-asm-label.ll
    M llvm/test/CodeGen/AArch64/callbr-asm-obj-file.ll
    M llvm/test/CodeGen/AArch64/speculation-hardening-sls.ll
    M llvm/test/CodeGen/ARM/speculation-hardening-sls.ll
    M llvm/test/CodeGen/PowerPC/ppc64-inlineasm-clobber.ll
    M llvm/test/CodeGen/SystemZ/asm-20.ll
    M llvm/test/CodeGen/X86/callbr-asm-bb-exports.ll
    M llvm/test/CodeGen/X86/callbr-asm-blockplacement.ll
    M llvm/test/CodeGen/X86/callbr-asm-branch-folding.ll
    M llvm/test/CodeGen/X86/callbr-asm-destinations.ll
    M llvm/test/CodeGen/X86/callbr-asm-errors.ll
    M llvm/test/CodeGen/X86/callbr-asm-instr-scheduling.ll
    M llvm/test/CodeGen/X86/callbr-asm-kill.mir
    M llvm/test/CodeGen/X86/callbr-asm-label-addr.ll
    M llvm/test/CodeGen/X86/callbr-asm-obj-file.ll
    M llvm/test/CodeGen/X86/callbr-asm-outputs-pred-succ.ll
    M llvm/test/CodeGen/X86/callbr-asm-outputs.ll
    M llvm/test/CodeGen/X86/callbr-asm-phi-placement.ll
    M llvm/test/CodeGen/X86/callbr-asm-sink.ll
    M llvm/test/CodeGen/X86/callbr-asm.ll
    M llvm/test/CodeGen/X86/callbr-codegenprepare.ll
    M llvm/test/CodeGen/X86/shrinkwrap-callbr.ll
    M llvm/test/CodeGen/X86/tail-dup-asm-goto.ll
    M llvm/test/Instrumentation/MemorySanitizer/msan_asm_conservative.ll
    M llvm/test/Transforms/CallSiteSplitting/callsite-split-callbr.ll
    M llvm/test/Transforms/Coroutines/coro-debug.ll
    M llvm/test/Transforms/GVN/callbr-loadpre-critedge.ll
    M llvm/test/Transforms/GVN/callbr-scalarpre-critedge.ll
    M llvm/test/Transforms/GVN/critical-edge-split-failure.ll
    M llvm/test/Transforms/IROutliner/illegal-callbr.ll
    M llvm/test/Transforms/Inline/blockaddress.ll
    M llvm/test/Transforms/Inline/callbr.ll
    M llvm/test/Transforms/JumpThreading/callbr-edge-split.ll
    M llvm/test/Transforms/JumpThreading/pr46857-callbr.ll
    M llvm/test/Transforms/LICM/callbr-crash.ll
    M llvm/test/Transforms/LoopDeletion/two-predecessors.ll
    M llvm/test/Transforms/LoopRotate/callbr.ll
    M llvm/test/Transforms/LoopStrengthReduce/callbr-critical-edge-splitting.ll
    M llvm/test/Transforms/LoopStrengthReduce/callbr-critical-edge-splitting2.ll
    M llvm/test/Transforms/LoopUnroll/callbr.ll
    M llvm/test/Transforms/LoopUnswitch/callbr.ll
    M llvm/test/Transforms/PGOProfile/callbr.ll
    M llvm/test/Transforms/SimpleLoopUnswitch/not-safe-to-clone.ll
    M llvm/test/Transforms/SimplifyCFG/callbr-destinations.ll
    M llvm/test/Verifier/callbr.ll
    M llvm/test/tools/llvm-diff/callbr.ll
    M llvm/test/tools/llvm-diff/phinode.ll
    M llvm/test/tools/llvm-reduce/remove-function-arguments-of-funcs-used-in-blockaddress.ll

  Log Message:
  -----------
  [llvm][test] rewrite callbr to use i rather than X constraint NFC

In D115311, we're looking to modify clang to emit i constraints rather
than X constraints for callbr's indirect destinations. Prior to doing
so, update all of the existing tests in llvm/ to match.

Reviewed By: void, jyknight

Differential Revision: https://reviews.llvm.org/D115410




More information about the All-commits mailing list