Skip to content

Commit 1a2e298

Browse files
Carl PetoCarl Peto
authored andcommitted
no need for this, AVR supports an implementation of atomic llvm ops
1 parent 1370b14 commit 1a2e298

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/Basic/LangOptions.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -392,10 +392,6 @@ void LangOptions::setHasAtomicBitWidth(llvm::Triple triple) {
392392
setMaxAtomicBitWidth(128);
393393
break;
394394

395-
case llvm::Triple::ArchType::avr:
396-
setMaxAtomicBitWidth(0);
397-
break;
398-
399395
default:
400396
// Some exotic architectures may not support atomics at all. If that's the
401397
// case please update the switch with your flavor of arch. Otherwise assume

0 commit comments

Comments
 (0)