diff options
author | Nadav Rotem <nadav.rotem@intel.com> | 2011-05-11 14:40:50 +0000 |
---|---|---|
committer | Nadav Rotem <nadav.rotem@intel.com> | 2011-05-11 14:40:50 +0000 |
commit | 8a7beb80f0168876967c2aaebb4829ee1560250c (patch) | |
tree | a0263871a18b8b4db82fc729b102b84994048b50 /llvm/lib/Support/Program.cpp | |
parent | cfc9efa43ed9ce8f4324bbefcdcaf33ac7d3b790 (diff) | |
download | bcm5719-llvm-8a7beb80f0168876967c2aaebb4829ee1560250c.tar.gz bcm5719-llvm-8a7beb80f0168876967c2aaebb4829ee1560250c.zip |
Fixes a bug in the DAGCombiner. LoadSDNodes have two values (data, chain).
If there is a store after the load node, then there is a chain, which means
that there is another user. Thus, asking hasOneUser would fail. Instead we
ask hasNUsesOfValue on the 'data' value.
llvm-svn: 131183
Diffstat (limited to 'llvm/lib/Support/Program.cpp')
0 files changed, 0 insertions, 0 deletions