diff options
author | Michael Liao <michael.hliao@gmail.com> | 2019-07-16 01:03:06 +0000 |
---|---|---|
committer | Michael Liao <michael.hliao@gmail.com> | 2019-07-16 01:03:06 +0000 |
commit | 543ba4e9e0c421bedaea2d8a0f1965092cec300e (patch) | |
tree | ff8bc9aac9e51b287e4865863e1099cf2f3096c2 /clang/lib/Serialization/ModuleManager.cpp | |
parent | 0d121273181f89b5296b02084fbb967d159b2c69 (diff) | |
download | llvm-543ba4e9e0c421bedaea2d8a0f1965092cec300e.zip llvm-543ba4e9e0c421bedaea2d8a0f1965092cec300e.tar.gz llvm-543ba4e9e0c421bedaea2d8a0f1965092cec300e.tar.bz2 |
[InstructionSimplify] Apply sext/trunc after pointer stripping
Summary:
- As the pointer stripping could trace through `addrspacecast` now, need
to sext/trunc the offset to ensure it has the same width as the
pointer after stripping.
Reviewers: jdoerfert
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D64768
llvm-svn: 366162
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions