[InstCombine] fix bug in canonicalization to fabs()
authorSanjay Patel <spatel@rotateright.com>
Mon, 10 Jun 2019 14:57:45 +0000 (14:57 +0000)
committerSanjay Patel <spatel@rotateright.com>
Mon, 10 Jun 2019 14:57:45 +0000 (14:57 +0000)
commit85de9634e641d29260f74907b72e2d26e2b4d9f7
tree8a8bbf53604e88ac628ffc8786de2b6a7ffefba6
parent306e474b91466d7eb6fd0bb5af9e0de2c2cb66a5
[InstCombine] fix bug in canonicalization to fabs()

Forgot to translate the predicate clauses in rL362943.

llvm-svn: 362945
llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
llvm/test/Transforms/InstCombine/fabs.ll