HomePhabricator

RegisterPressure: Simplify liveness tracking when lanemasks are not checked.

Authored by MatzeB on Mar 28 2016, 8:54 PM.

Description

RegisterPressure: Simplify liveness tracking when lanemasks are not checked.

Split RegisterOperands code that collects defs/uses into a variant with
and without lanemask tracking. This is a bit of code duplication, but
there are enough subtle differences between the two variants that this
seems cleaner (and potentially faster).

This also fixes a problem where lanes where tracked even though
TrackLaneMasks was false. This is part of the fix for
http://llvm.org/PR27106. I will commit the testcase when it is
completely fixed.

llvm-svn: 264696

Details

Committed
MatzeBMar 28 2016, 8:54 PM
Parents
rG82cff886910c: LiveVariables: Do not remove dead flags from vreg operands
Branches
Unknown
Tags
Unknown