[PATCH] Outline functions for SEH with the MSVC environment

Andy Kaylor andrew.kaylor at intel.com
Mon Dec 15 14:33:56 PST 2014


Yeah, the test passes (...now...there was a change missing in the last revision I uploaded).  It was kind of a beautiful thing to see it come together.  One minute it was producing a garbled mess full of bad references, then after one more change it all simplified to the expected results.

These latest changes include a fix for an unmapped variable problem during outlining.  I also fixed the comments that were wrong and ran the new source file through clang-format.

I expect that this will need to wait until the related changes are committed and the intended form of the IR is settled, but I think they are otherwise ready to go.


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D6556

Files:
  include/llvm/CodeGen/Passes.h
  include/llvm/InitializePasses.h
  include/llvm/Transforms/Utils/Cloning.h
  lib/CodeGen/CMakeLists.txt
  lib/CodeGen/CodeGen.cpp
  lib/CodeGen/MSVCEHPrepare.cpp
  lib/CodeGen/Passes.cpp
  lib/Transforms/Utils/CloneFunction.cpp
  test/CodeGen/X86/seh-outline.ll
  tools/opt/opt.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6556.17304.patch
Type: text/x-patch
Size: 33324 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141215/7651534c/attachment.bin>


More information about the llvm-commits mailing list