OSDN Git Service

Fix AAResults::callCapturesBefore for operand bundles
authorSanjoy Das <sanjoy@playingwithpointers.com>
Mon, 13 Jun 2016 19:55:04 +0000 (19:55 +0000)
committerSanjoy Das <sanjoy@playingwithpointers.com>
Mon, 13 Jun 2016 19:55:04 +0000 (19:55 +0000)
commitae9ac9ce84e0903b0741af8da0df0d5beb1d612a
tree41d1db7ec2a251b64e69b693ee263d3bed8e8024
parent2caddbf39dc921a90ffa0168025745472e2feb6e
Fix AAResults::callCapturesBefore for operand bundles

Summary:
AAResults::callCapturesBefore would previously ignore operand
bundles. It was possible for a later instruction to miss its memory
dependency on a call site that would only access the pointer through a
bundle.

Patch by Oscar Blumberg!

Reviewers: sanjoy

Differential Revision: http://reviews.llvm.org/D21286

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@272580 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/AliasAnalysis.cpp
test/CodeGen/X86/statepoint-memdep.ll [new file with mode: 0644]