diff options
author | Nikita Popov <npopov@redhat.com> | 2023-08-09 16:14:48 +0200 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2023-08-09 16:18:04 +0200 |
commit | 98f16dfa136636ea8d83ed326c92c5ce3d42bd72 (patch) | |
tree | bad0db350be67a9829afc4b24ff06e5858a06bbe /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | da555f750ab21d200ce486b45af75476662ca3b5 (diff) | |
download | llvm-98f16dfa136636ea8d83ed326c92c5ce3d42bd72.zip llvm-98f16dfa136636ea8d83ed326c92c5ce3d42bd72.tar.gz llvm-98f16dfa136636ea8d83ed326c92c5ce3d42bd72.tar.bz2 |
[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.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions