Skip to content
Commit 7adb1895 authored by Benjamin Kramer's avatar Benjamin Kramer
Browse files

InstCombine: When comparing two GEPs that were derived from the same base...

InstCombine: When comparing two GEPs that were derived from the same base pointer but use different types, expand the offset calculation and to the compare on the offset if profitable.

This came up in SmallVector code.

llvm-svn: 150962
parent 7746eb62
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