aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/APInt.cpp
diff options
context:
space:
mode:
authorWei Mi <wmi@google.com>2016-09-14 04:39:50 +0000
committerWei Mi <wmi@google.com>2016-09-14 04:39:50 +0000
commit24662395df3baa3c9edfa026810d3dd2d788b928 (patch)
treee399ebb9dc84b3f8dc18ad8853a74e2656e462f3 /llvm/lib/Support/APInt.cpp
parent12cc2b80b69d1bddac53e9bee6d303fc118272e1 (diff)
downloadllvm-24662395df3baa3c9edfa026810d3dd2d788b928.zip
llvm-24662395df3baa3c9edfa026810d3dd2d788b928.tar.gz
llvm-24662395df3baa3c9edfa026810d3dd2d788b928.tar.bz2
Create a getelementptr instead of sub expr for ValueOffsetPair if the
value is a pointer. This patch is to fix PR30213. When expanding an expr based on ValueOffsetPair, if the value is of pointer type, we can only create a getelementptr instead of sub expr. Differential Revision: https://reviews.llvm.org/D24088 llvm-svn: 281439
Diffstat (limited to 'llvm/lib/Support/APInt.cpp')
0 files changed, 0 insertions, 0 deletions