WinEH: Make llvm.eh.actions emission match the EH docs
authorReid Kleckner <reid@kleckner.net>
Thu, 19 Mar 2015 22:31:02 +0000 (22:31 +0000)
committerReid Kleckner <reid@kleckner.net>
Thu, 19 Mar 2015 22:31:02 +0000 (22:31 +0000)
commitc39212a2fc6bb5cdd425c848944e027b0f3b8700
treeb32562e7edbd98458f6a0bbb1f8a137a098e1c5c
parent11d77223a5d79c03d34be513269e56a2a241dfad
WinEH: Make llvm.eh.actions emission match the EH docs

This switches the sense of the i32 values and updates the test cases.

We can also use CHECK-SAME to clean up some tests, and reduce the visual
noise from bitcasts.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232774 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/WinEHPrepare.cpp
test/CodeGen/WinEH/cppeh-catch-all.ll
test/CodeGen/WinEH/cppeh-catch-scalar.ll
test/CodeGen/WinEH/cppeh-frame-vars.ll
test/CodeGen/WinEH/cppeh-inalloca.ll
test/CodeGen/WinEH/cppeh-min-unwind.ll
test/CodeGen/WinEH/cppeh-nested-1.ll
test/CodeGen/WinEH/cppeh-nested-2.ll
test/CodeGen/WinEH/cppeh-nested-3.ll
test/CodeGen/WinEH/cppeh-nonalloca-frame-values.ll
test/CodeGen/WinEH/seh-simple.ll