aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
diff options
context:
space:
mode:
authorErich Keane <erich.keane@intel.com>2018-05-08 21:26:21 +0000
committerErich Keane <erich.keane@intel.com>2018-05-08 21:26:21 +0000
commita4c48c68c5d4f8dfe2913520297c2d28a77ea239 (patch)
treefd745dd1616e6e94ddbb47c07792bbfdcddc4531 /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
parent398612b4c2a9a7c2a45c18462d3c3e2d30fbad8b (diff)
downloadllvm-a4c48c68c5d4f8dfe2913520297c2d28a77ea239.zip
llvm-a4c48c68c5d4f8dfe2913520297c2d28a77ea239.tar.gz
llvm-a4c48c68c5d4f8dfe2913520297c2d28a77ea239.tar.bz2
Fix float->int conversion warnings when near barriers.
As Eli brought up here: https://reviews.llvm.org/D46535 I'd previously messed up this fix by missing conversions that are just slightly outside the range. This patch fixes this by no longer ignoring the return value of convertToInteger. Additionally, one of the error messages wasn't very sensical (mentioning out of range value, when it really was not), so it was cleaned up as well. llvm-svn: 331812
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions