aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/CommandLine.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-01-30 02:49:14 +0000
committerDan Gohman <gohman@apple.com>2009-01-30 02:49:14 +0000
commit1ee0d41ef82b1030f592a22224c7188c720578db (patch)
treead5a9847921270c012f164841512de70e1d56482 /llvm/lib/Support/CommandLine.cpp
parent091f92f568d01309bc958941493990ce434def45 (diff)
downloadllvm-1ee0d41ef82b1030f592a22224c7188c720578db.zip
llvm-1ee0d41ef82b1030f592a22224c7188c720578db.tar.gz
llvm-1ee0d41ef82b1030f592a22224c7188c720578db.tar.bz2
Fix a post-RA scheduling dependency bug.
If a MachineInstr doesn't have a memoperand but has an opcode that is known to load or store, assume its memory reference may alias *anything*, including stack slots which the compiler completely controls. To partially compensate for this, teach the ScheduleDAG building code to do basic getUnderlyingValue analysis. This greatly reduces the number of instructions that require restrictive dependencies. This code will need to be revisited when we start doing real alias analysis, but it should suffice for now. llvm-svn: 63370
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions