]> granicus.if.org Git - llvm/commit
[DAGCombine] Don't use getZExtValue() until we know the constant is in range.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 3 Apr 2019 11:00:55 +0000 (11:00 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 3 Apr 2019 11:00:55 +0000 (11:00 +0000)
commit9337d5b41f4348fe8efddbf00cb8bd46d53152bc
tree51c1f56baf6f84493cc93be5b2861150cacb9d5c
parent512c922d04079eaa253cef1229c63b217138b0d9
[DAGCombine] Don't use getZExtValue() until we know the constant is in range.

Noticed during prep for a patch for PR40758.

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