[all-commits] [llvm/llvm-project] aa8217: [XRay][test] Fix xray-empty-firstmbb.mir and delet...

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed Jan 1 22:21:25 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: aa8217289864d27b023b31e3efbaa7eb05e77092
      https://github.com/llvm/llvm-project/commit/aa8217289864d27b023b31e3efbaa7eb05e77092
  Author: Fangrui Song <maskray at google.com>
  Date:   2020-01-01 (Wed, 01 Jan 2020)

  Changed paths:
    M llvm/test/CodeGen/X86/xray-empty-firstmbb.mir
    R llvm/test/CodeGen/X86/xray-empty-function.mir

  Log Message:
  -----------
  [XRay][test] Fix xray-empty-firstmbb.mir and delete incorrect xray-empty-function.mir

xray-empty-firstmbb.mir does not test the intended code path. Change
xray-instruction-threshold to 0 to exercise the code path.

Delete xray-empty-function.mir . Empty MachineFunction does not work.
Various passes (e.g. MachineDominatorTree) assume the presence of an
entry block.




More information about the All-commits mailing list