Inliner: Don't mark swifterror allocas with lifetime markers
authorArnold Schwaighofer <aschwaighofer@apple.com>
Fri, 9 Sep 2016 22:40:27 +0000 (22:40 +0000)
committerArnold Schwaighofer <aschwaighofer@apple.com>
Fri, 9 Sep 2016 22:40:27 +0000 (22:40 +0000)
commitc9277f40fddadc0d6fc727dffdd7dc7742c0aadc
treeefecf9f001b3cb48e446a48c70fc92ac0aa2d40a
parent6ecf619be99be4181cb677f066159bc05901d720
Inliner: Don't mark swifterror allocas with lifetime markers

This would create a bitcast use which fails the verifier: swifterror values may
only be used by loads, stores, and as function arguments.

rdar://28233244

llvm-svn: 281114
llvm/lib/Transforms/Utils/InlineFunction.cpp
llvm/test/Transforms/Inline/lifetime.ll