aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/DependencyFile.cpp
diff options
context:
space:
mode:
authorSam Elliott <selliott@lowrisc.org>2019-08-27 15:41:16 +0000
committerSam Elliott <selliott@lowrisc.org>2019-08-27 15:41:16 +0000
commitf260630e8f4c07613c11ea9f4b884e58c9683f03 (patch)
tree45dbe72391ec0653f25b48f78136f0ad5a38cfb9 /clang/lib/Frontend/DependencyFile.cpp
parent70e158e09e9de810dc3254895eecb21bb336bc27 (diff)
downloadllvm-f260630e8f4c07613c11ea9f4b884e58c9683f03.zip
llvm-f260630e8f4c07613c11ea9f4b884e58c9683f03.tar.gz
llvm-f260630e8f4c07613c11ea9f4b884e58c9683f03.tar.bz2
[RISCV] Set MaxAtomicInlineWidth and MaxAtomicPromoteWidth for RV32/RV64 targets with atomics
Summary: This ensures that libcalls aren't generated when the target supports atomics. Atomics aren't in the base RV32I/RV64I instruction sets, so MaxAtomicInlineWidth and MaxAtomicPromoteWidth are set only when the atomics extension is being targeted. This must be done in setMaxAtomicWidth, as this should be done after handleTargetFeatures has been called. Reviewers: jfb, jyknight, wmi, asb Reviewed By: asb Subscribers: pzheng, MaskRay, s.egerton, lenary, dexonsmith, psnobl, benna, Jim, JohnLLVM, rbar, johnrusso, simoncook, apazos, sabuasal, niosHD, kito-cheng, shiva0217, jrtc27, zzheng, edward-jones, rogfer01, MartinMosbeck, brucehoult, the_o, rkruppe, PkmX, jocewei, lewis-revill, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D57450 llvm-svn: 370073
Diffstat (limited to 'clang/lib/Frontend/DependencyFile.cpp')
0 files changed, 0 insertions, 0 deletions