[clang] [clan-repl] : Fix clang-repl crash with --cuda flag (PR #136404)

Anutosh Bhat via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 18 21:42:21 PDT 2025


anutosh491 wrote:

cc @AaronBallman @vgvassilev 

This fixes this discussion y'all had https://github.com/llvm/llvm-project/pull/107737#discussion_r1806913203

Unfortunately I am on an Apple m1 so I can just justify seeing this on my side 
```
(base) anutosh491 at Anutoshs-MacBook-Air bin % ./clang-repl --cuda
clang-repl: Invalid CUDA architecture
```

https://github.com/llvm/llvm-project/pull/136404


More information about the cfe-commits mailing list