OSDN Git Service

[DAGCombiner] Use getAPIntValue() instead of getZExtValue() where possible.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 20 Jun 2019 17:36:23 +0000 (17:36 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 20 Jun 2019 17:36:23 +0000 (17:36 +0000)
commitfea914288b48bc8dc173e43d85f8dc194a8674c7
treedf8c50b01441eea3aa923a35cd2ceff47ec7d8d8
parent83e2cc3dcc1d44b7f55f398e8b6aa07366c2153b
[DAGCombiner] Use getAPIntValue() instead of getZExtValue() where possible.

Better handling of out-of-i64-range values due to large integer types or from fuzz tests.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@363955 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp