Commit 98f16dfa authored by Nikita Popov's avatar Nikita Popov
Browse files

[InstSimplify] Simplify simplifyRelativeLoad (NFCI)

Drop an unnecessary bitcast and make use of the
ConstantFoldLoadFromConstPtr API that accepts an Offset, instead
of going through a GEP expression.
parent da555f75
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment