This is an archive of the discontinued LLVM Phabricator instance.

Discard @llvm.invariant.group.barrier in -O0 code generation
ClosedPublic

Authored by rsmith on Nov 3 2016, 5:01 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

rsmith updated this revision to Diff 76903.Nov 3 2016, 5:01 PM
rsmith retitled this revision from to Discard @llvm.invariant.group.barrier in -O0 code generation.
rsmith updated this object.
rsmith added a reviewer: hfinkel.
rsmith set the repository for this revision to rL LLVM.
rsmith added a subscriber: llvm-commits.
hfinkel accepted this revision.Nov 5 2016, 8:11 AM
hfinkel edited edge metadata.

LGTM

We should probably also add this to isAssumeLikeIntrinsic in Analysis/ValueTracking.cpp and getIntrinsicCost in include/llvm/Analysis/TargetTransformInfoImpl.h.

This revision is now accepted and ready to land.Nov 5 2016, 8:11 AM
This revision was automatically updated to reflect the committed changes.