HomePhabricator

Fix -Werror when compiling rL318083 (ter)

Authored by Serge Guelton <sguelton@quarkslab.com> on Nov 13 2017, 1:55 PM.

Description

Fix -Werror when compiling rL318083 (ter)

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

llvm-svn: 318091

Details

Committed
Serge Guelton <sguelton@quarkslab.com>Nov 13 2017, 1:55 PM
Parents
rG3347332ad3ad: Fix -Werror when compiling rL318083 (bis)
Branches
Unknown
Tags
Unknown

Event Timeline

Serge Guelton <sguelton@quarkslab.com> committed rG9fd33f249f6a: Fix -Werror when compiling rL318083 (ter) (authored by Serge Guelton <sguelton@quarkslab.com>).Nov 13 2017, 1:55 PM