summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic/FixedPoint.cpp
diff options
context:
space:
mode:
authorAlex Bradbury <asb@lowrisc.org>2019-07-16 04:37:19 +0000
committerAlex Bradbury <asb@lowrisc.org>2019-07-16 04:37:19 +0000
commite9ad0cf6cf79cfa5f8ce99db0f7161e110850011 (patch)
treeda6f65a6da00fdcd6616220dc359bb758709ba71 /clang/lib/Basic/FixedPoint.cpp
parentef8577ef98717c1c6a66293de3b2cc0f09e8c3ff (diff)
downloadbcm5719-llvm-e9ad0cf6cf79cfa5f8ce99db0f7161e110850011.tar.gz
bcm5719-llvm-e9ad0cf6cf79cfa5f8ce99db0f7161e110850011.zip
[RISCV] Fix a potential issue in shouldInsertFixupForCodeAlign()
The bool result of shouldInsertExtraNopBytesForCodeAlign() is not checked but the returned nop count is unconditionally read even though it could be uninitialized. Differential Revision: https://reviews.llvm.org/D63285 Patch by Edward Jones. llvm-svn: 366175
Diffstat (limited to 'clang/lib/Basic/FixedPoint.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud