Skip to content
Commit 788d0ab8 authored by David Majnemer's avatar David Majnemer
Browse files

InstSimplify: Fold gep X, (sub 0, ptrtoint(X)) to null

Save InstCombine some work if we can perform this fold during
InstSimplify.

llvm-svn: 216441
parent e81df3bb
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