summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis/BasicConstraintManager.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2008-08-30 00:38:46 +0000
committerOwen Anderson <resistor@mac.com>2008-08-30 00:38:46 +0000
commit6f0c51d9da64c60dd11972daa440438fdfe6cb57 (patch)
tree46d90f574685125abfc4c6e56fbee0456f67d04a /clang/lib/Analysis/BasicConstraintManager.cpp
parent340d264f52cad1862009350891dc4434e96d300c (diff)
downloadbcm5719-llvm-6f0c51d9da64c60dd11972daa440438fdfe6cb57.tar.gz
bcm5719-llvm-6f0c51d9da64c60dd11972daa440438fdfe6cb57.zip
Fix an issue where a use might be selected before a def, and then we didn't respect the pre-chosen vreg
assignment when selecting the def. This is the naive solution to the problem: insert a copy to the pre-chosen vreg. Other solutions might be preferable, such as: 1) Passing the dest reg into FastEmit_. However, this would require the higher level code to know about reg classes, which they don't currently. 2) Selecting blocks in reverse postorder. This has some compile time cost for computing the order, and we'd need to measure its impact. llvm-svn: 55555
Diffstat (limited to 'clang/lib/Analysis/BasicConstraintManager.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud