aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/WasmObjectFile.cpp
diff options
context:
space:
mode:
authorHongbin Zheng <etherzhhb@gmail.com>2017-09-29 16:32:12 +0000
committerHongbin Zheng <etherzhhb@gmail.com>2017-09-29 16:32:12 +0000
commitc8abdf5f2509067052e5845d3d8a0e21020f628a (patch)
treeb3d7372733104c0e88404b5d0904d49f9c939e30 /llvm/lib/Object/WasmObjectFile.cpp
parentc2e79c2dfc07e1aba27946f22ea370cd5c130b04 (diff)
downloadllvm-c8abdf5f2509067052e5845d3d8a0e21020f628a.zip
llvm-c8abdf5f2509067052e5845d3d8a0e21020f628a.tar.gz
llvm-c8abdf5f2509067052e5845d3d8a0e21020f628a.tar.bz2
[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/lib/Object/WasmObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions