[llvm-dev] Should intrinsics llvm.eh.sjlj.setjmp be with isBarrier flag?

Tim Northover via llvm-dev llvm-dev at lists.llvm.org
Sat Dec 8 02:07:11 PST 2018


On Fri, 7 Dec 2018 at 18:25, Zheng CZ Chen via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> Is there any misunderstanding? Is there any specification reason for setting llvm.eh.sjlj.setjmp as a barrier?

I agree with you, the setjmp ones shouldn't be isBarrier. I suspect
the original commit mistook the name "isBarrier" as referring to a
memory fence-like construct. It's a fairly common mistake and could
easily apply here.

Cheers.

Tim.


More information about the llvm-dev mailing list