diff options
author | Hongbin Zheng <etherzhhb@gmail.com> | 2017-09-29 16:32:12 +0000 |
---|---|---|
committer | Hongbin Zheng <etherzhhb@gmail.com> | 2017-09-29 16:32:12 +0000 |
commit | c8abdf5f2509067052e5845d3d8a0e21020f628a (patch) | |
tree | b3d7372733104c0e88404b5d0904d49f9c939e30 /llvm/tools/llvm-readobj | |
parent | c2e79c2dfc07e1aba27946f22ea370cd5c130b04 (diff) | |
download | bcm5719-llvm-c8abdf5f2509067052e5845d3d8a0e21020f628a.tar.gz bcm5719-llvm-c8abdf5f2509067052e5845d3d8a0e21020f628a.zip |
[SimplifyIndVar] Do not fail when we constant fold an IV user to ConstantPointerNull
The type of a SCEVConstant may not match the corresponding LLVM Value.
In this case, we skip the constant folding for now.
TODO: Replace ConstantInt Zero by ConstantPointerNull
llvm-svn: 314531
Diffstat (limited to 'llvm/tools/llvm-readobj')
0 files changed, 0 insertions, 0 deletions