Enable rematerialization of constants using AliasAnalysis::pointsToConstantMemory,
authorDan Gohman <gohman@apple.com>
Fri, 25 Jul 2008 00:02:30 +0000 (00:02 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 25 Jul 2008 00:02:30 +0000 (00:02 +0000)
commit6d69ba8a6901c69d78488cbc41f8dbf080618fde
treed3561769602cb34fb08db592e6576877e3be6165
parent3eee6542f5c65dce299361fa5435340513cf3fe4
Enable rematerialization of constants using AliasAnalysis::pointsToConstantMemory,
and knowledge of PseudoSourceValues. This unfortunately isn't sufficient to allow
constants to be rematerialized in PIC mode -- the extra indirection is a
complication.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54000 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/LiveIntervalAnalysis.h
include/llvm/CodeGen/MachineRegisterInfo.h
include/llvm/CodeGen/PseudoSourceValue.h
lib/CodeGen/LiveIntervalAnalysis.cpp
lib/CodeGen/PseudoSourceValue.cpp
test/CodeGen/X86/remat-constant.ll [new file with mode: 0644]