A def. operand of a machine instruction may be an ordinary Value*,
authorVikram S. Adve <vadve@cs.uiuc.edu>
Wed, 2 Jul 2003 01:16:01 +0000 (01:16 +0000)
committerVikram S. Adve <vadve@cs.uiuc.edu>
Wed, 2 Jul 2003 01:16:01 +0000 (01:16 +0000)
commit74d15d36f5ae146853b6089ed4a76a381b11cbb3
tree0a1f7c4ca48c25bd645fe04d416499413cbf3cef
parent784a18b8ba5e3ad2da2fc3503d453f4593f7eaaf
A def. operand of a machine instruction may be an ordinary Value*,
not just an Instruction*, at least in one unfortunate case:
the first operand to the va_arg instruction.
Modify ValueToDefVecMap to map from Value*, not Instruction*.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7052 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/InstrSched/SchedGraph.cpp
lib/Target/SparcV9/InstrSched/SchedGraph.cpp