[WinEH] Tweak funclet prologue/epilogue insertion to pass verifier
authorReid Kleckner <rnk@google.com>
Mon, 9 Nov 2015 21:04:00 +0000 (21:04 +0000)
committerReid Kleckner <rnk@google.com>
Mon, 9 Nov 2015 21:04:00 +0000 (21:04 +0000)
commitc324f8dc3e84438ff74da6df317bb91b78f99a59
tree8a8a348177dd8310e961aaa164bfea2d9453fbb5
parent805b66a27cdf79dc620a0899e96c8781e0b4208d
[WinEH] Tweak funclet prologue/epilogue insertion to pass verifier

For some reason we'd never run MachineVerifier on WinEH code, and you
explicitly have to ask for it with llc. I added it to a few test cases
to get some coverage.

Fixes PR25461.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252512 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MachineVerifier.cpp
lib/Target/X86/X86FrameLowering.cpp
test/CodeGen/X86/seh-exception-code.ll
test/CodeGen/X86/win-catchpad-csrs.ll
test/CodeGen/X86/win-catchpad.ll
test/CodeGen/X86/win-cleanuppad.ll