aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorCharles Davis <cdavis5x@gmail.com>2015-02-25 05:10:25 +0000
committerCharles Davis <cdavis5x@gmail.com>2015-02-25 05:10:25 +0000
commit33d1dc000806708d65597da6a810bb450664f11d (patch)
treec0364e7539f6502c53b407f6cfb9eb1eee325010 /clang/lib/CodeGen/CodeGenModule.cpp
parentd70bb8d8cbe78dceb6d3ac501244874d8f1b85af (diff)
downloadllvm-33d1dc000806708d65597da6a810bb450664f11d.zip
llvm-33d1dc000806708d65597da6a810bb450664f11d.tar.gz
llvm-33d1dc000806708d65597da6a810bb450664f11d.tar.bz2
[IC] Turn non-null MD on pointer loads to range MD on integer loads.
Summary: This change fixes the FIXME that you recently added when you committed (a modified version of) my patch. When `InstCombine` combines a load and store of an pointer to those of an equivalently-sized integer, it currently drops any `!nonnull` metadata that might be present. This change replaces `!nonnull` metadata with `!range !{ 1, -1 }` metadata instead. Reviewers: chandlerc Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D7621 llvm-svn: 230462
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions