aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/SourceManager.cpp
diff options
context:
space:
mode:
authorShimin Cui <scui@ca.ibm.com>2020-10-20 12:41:49 -0700
committerEli Friedman <efriedma@quicinc.com>2020-10-20 12:41:49 -0700
commit95bda510fb7b35ac66fe96b0f24f0ec16005802f (patch)
treed1e31d767d4e0b0349607fc068c9ae64291b1abe /clang/lib/Basic/SourceManager.cpp
parentde6f3d1c71332b2c0ba00a2792c02be72b245d22 (diff)
downloadllvm-95bda510fb7b35ac66fe96b0f24f0ec16005802f.zip
llvm-95bda510fb7b35ac66fe96b0f24f0ec16005802f.tar.gz
llvm-95bda510fb7b35ac66fe96b0f24f0ec16005802f.tar.bz2
[ConstantFold] Fold the comparison of bitcasted global values
This is to simplify icmp instructions in the form like: %cmp = icmp eq i32 (i8*, i8*)* bitcast (i32 (i32**, i32**)* @f32 to i32 %(i8*, i8*)), bitcast (i32 (i64**, i64**) @f64 to i32 (i8*, i8*)*) Here @f32 and @f64 are two functions. Differential Revision: https://reviews.llvm.org/D87850
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions