Skip to content
Commit 6f05d739 authored by Reid Spencer's avatar Reid Spencer
Browse files

Don't fold "ptrtoint GV to bool" since this should be doing a truncate not

a comparison against zero. Instead fold setne(GV,null) and seteq(GV,null)
to ConstantBool::True or ConstantBool::False, respectively.

llvm-svn: 32060
parent 30477cd8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment