commit | f09ca2fb88bbe7923accbda384c5479c041458af | [log] [tgz] |
---|---|---|
author | Wei Mi <wmi@google.com> | Thu Sep 15 04:06:44 2016 +0000 |
committer | Wei Mi <wmi@google.com> | Thu Sep 15 04:06:44 2016 +0000 |
tree | 7c03eb3beaa7c62eb22afaefa72d8a9ebf3db317 | |
parent | 4574c11309207ef57e99d997d40bfbb80c810e7a [diff] |
Add a C++ unittest to test the fix for PR30213. The test exercises the branch in scev expansion when the value in ValueOffsetPair is a ptr and the offset is not divisible by the elem type size of value. Differential Revision: https://reviews.llvm.org/D24088 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@281575 91177308-0d34-0410-b5e6-96231b3b80d8