Commit f470f084 authored by Benjamin Kramer's avatar Benjamin Kramer
Browse files

Explicitly cast an expression to bool before handing it off to __builtin_expect.

Avoids surprises when someone uses LLVM_(UN)LIKELY with an integer.

llvm-svn: 162877
parent 25612738
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment