[llvm-commits] [PATCH] - Fix a bug in DAGCombining of extract-load
baldrick at free.fr
Wed May 11 02:41:07 CDT 2011
> This patch fixes a bug in the DAGCombiner. LoadSDNodes have two values (data,
> 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'
this looks OK to me.
More information about the llvm-commits