OSDN Git Service

Fix -Werror when compiling rL318083 (bis)
authorSerge Guelton <sguelton@quarkslab.com>
Mon, 13 Nov 2017 21:40:57 +0000 (21:40 +0000)
committerSerge Guelton <sguelton@quarkslab.com>
Mon, 13 Nov 2017 21:40:57 +0000 (21:40 +0000)
commitda0e1ff5237ce9ed9c0c4fd76d2c25043676113f
tree4a48d69f940b360b9dd650ea6b2febbc741e8eb0
parent5aed538ef1d51a34d2d3fd86b26da78dd1fe77c3
Fix -Werror when compiling rL318083 (bis)

Statically assert the result and remove a runtime comparison, a direct consequence of the optimization introduced in rL318083.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@318090 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/Value.h