[PATCH] MergeFunc: Don't merge functions with different range metadata on call/invoke
Stepan Dyatkovskiy
stpworld at narod.ru
Wed Jun 25 23:34:34 PDT 2014
Changes in MergeFunctions.cpp - LGTM
call-with-ranges.ll - LGTM
invoke-with-ranges.ll - read inline comment, otherwise - fine.
================
Comment at: test/Transforms/MergeFunc/invoke-with-ranges.ll:10
@@ +9,3 @@
+lpad:
+ %pad = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) cleanup
+ resume { i8*, i32 } zeroinitializer
----------------
Can we avoid bitcasts?
http://reviews.llvm.org/D4246
More information about the llvm-commits
mailing list