[llvm-commits] [PATCH]The ExecutionDepsFix pass does not propagate dependencies through implicit definitions

Silviu Baranga silbar01 at arm.com
Mon Sep 24 06:49:50 PDT 2012


Hi,

The attached patch fixes a problem with the ExecutionDependencyFix pass that
is causing some execution domain changes to not be performed.

The visitSoftInstr method does not call setLiveReg for imp-def operands,
which
prevents domain collapsing when the dependency is caused by the imp-def
operand.
This is because the operand is not considered to be live.

The attached patch also contains a simple regression test that can be used
to
replicate this behaviour.

Please review.

Thanks,
Silviu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: application/octet-stream
Size: 1871 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120924/49817c41/attachment.obj>


More information about the llvm-commits mailing list