diff options
author | Matthias Braun <matze@braunis.de> | 2016-08-09 01:47:26 +0000 |
---|---|---|
committer | Matthias Braun <matze@braunis.de> | 2016-08-09 01:47:26 +0000 |
commit | 7313ca6dbfcf2a2b84eb767394ac8d8110aadbbd (patch) | |
tree | 838c0231416ada849c7bfa8c6cbbc13a94e5571a /llvm/lib/Target/X86/X86InstrInfo.h | |
parent | 210ef7fbd4b489554a3e0ba1ac54b540b708d7c4 (diff) | |
download | bcm5719-llvm-7313ca6dbfcf2a2b84eb767394ac8d8110aadbbd.tar.gz bcm5719-llvm-7313ca6dbfcf2a2b84eb767394ac8d8110aadbbd.zip |
X86InstrInfo: Update liveness in classifyLea()
We need to update liveness information when we create COPYs in
classifyLea().
This fixes http://llvm.org/28301
llvm-svn: 278086
Diffstat (limited to 'llvm/lib/Target/X86/X86InstrInfo.h')
-rw-r--r-- | llvm/lib/Target/X86/X86InstrInfo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86InstrInfo.h b/llvm/lib/Target/X86/X86InstrInfo.h index d1c7462128d..7251aecaac2 100644 --- a/llvm/lib/Target/X86/X86InstrInfo.h +++ b/llvm/lib/Target/X86/X86InstrInfo.h @@ -230,7 +230,7 @@ public: bool classifyLEAReg(MachineInstr &MI, const MachineOperand &Src, unsigned LEAOpcode, bool AllowSP, unsigned &NewSrc, bool &isKill, bool &isUndef, - MachineOperand &ImplicitOp) const; + MachineOperand &ImplicitOp, LiveVariables *LV) const; /// convertToThreeAddress - This method must be implemented by targets that /// set the M_CONVERTIBLE_TO_3_ADDR flag. When this flag is set, the target |