diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-06-04 09:17:16 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-06-04 09:17:16 +0000 |
commit | a15e7eb29b74020084714047392886a32892227d (patch) | |
tree | d78f448208878fa19b03bf6dc68f25cc432bfec8 /llvm/lib/CodeGen/LowerSubregs.cpp | |
parent | eecdf659e80dd7e4e451a293c7b6b74ce7569119 (diff) | |
download | bcm5719-llvm-a15e7eb29b74020084714047392886a32892227d.tar.gz bcm5719-llvm-a15e7eb29b74020084714047392886a32892227d.zip |
LowerSubregs should not clobber any analysis.
llvm-svn: 51933
Diffstat (limited to 'llvm/lib/CodeGen/LowerSubregs.cpp')
-rw-r--r-- | llvm/lib/CodeGen/LowerSubregs.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/LowerSubregs.cpp b/llvm/lib/CodeGen/LowerSubregs.cpp index 0710a353006..aaadda1cb1c 100644 --- a/llvm/lib/CodeGen/LowerSubregs.cpp +++ b/llvm/lib/CodeGen/LowerSubregs.cpp @@ -30,6 +30,10 @@ namespace { return "Subregister lowering instruction pass"; } + void getAnalysisUsage(AnalysisUsage &AU) const { + AU.setPreservesAll(); + } + /// runOnMachineFunction - pass entry point bool runOnMachineFunction(MachineFunction&); |