Skip to content
Commit f433cecf authored by Evgeniy Stepanov's avatar Evgeniy Stepanov
Browse files

[msan] Fix getOriginForNaryOp.

    
The old version failed on a 3-arg instruction with (-1, 0, 0) shadows (it would
pick the 3rd operand origin irrespective of its shadow).
    
The new version always picks the origin of the rightmost poisoned operand.

llvm-svn: 168887
parent 93aefa5f
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