Skip to content
Commit b0a5a1ee authored by Owen Anderson's avatar Owen Anderson
Browse files

The index stored in the RegDefIter is one after the current index. When...

The index stored in the RegDefIter is one after the current index.  When getting the index, decrement it so that it points to the current element.  Fixes an off-by-one bug encountered when trying to make use of MVT::untyped.

llvm-svn: 133923
parent d9997acd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment