[XRay][test] Fix xray-empty-firstmbb.mir and delete incorrect xray-empty-function.mir
authorFangrui Song <maskray@google.com>
Thu, 2 Jan 2020 06:14:33 +0000 (22:14 -0800)
committerFangrui Song <maskray@google.com>
Thu, 2 Jan 2020 06:21:11 +0000 (22:21 -0800)
commitaa8217289864d27b023b31e3efbaa7eb05e77092
treea1216e642de1c04c41a31ac1814c88a214f14fd5
parent0359e1d6be2e4449ece5063c6b2a08a5094798b4
[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.
llvm/test/CodeGen/X86/xray-empty-firstmbb.mir
llvm/test/CodeGen/X86/xray-empty-function.mir [deleted file]