commit | 639cf7d380b4e89542d8c29a93605b905c203a1c | [log] [tgz] |
---|---|---|
author | Reid Spencer <rspencer@reidspencer.com> | Mon Nov 27 18:51:06 2006 +0000 |
committer | Reid Spencer <rspencer@reidspencer.com> | Mon Nov 27 18:51:06 2006 +0000 |
tree | 85575f2010e31a4241a4384e54062d3d3933e138 | |
parent | eb7313805b06a9751e382fb70751290f49e334c1 [diff] |
When truncating to bool, it is necessary to & with 1 for all casts that can result in a bool. Previously PtrToInt, FPToUI and FPToSI were missing this operation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31938 91177308-0d34-0410-b5e6-96231b3b80d8