[llvm] 5d6d8a2 - [RISCV] Add SiFive cores to the CPU option

Evandro Menezes via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 5 17:58:59 PDT 2020


Hi, Douglas.

Just committed the patch a48d480e1f7eb fixing this issue.

Thank you for your patience,

__ 
Evandro Menezes ◊ SiFive ◊ Austin, TX

> On Oct 5, 2020, at 18:41, Evandro Menezes <evandro.menezes at sifive.com> wrote:
> 
> Hi, Douglas.
> 
> I noticed it.  Will fix it soon.
> 
> Thank you,
> 
> __ 
> Evandro Menezes ◊ SiFive ◊ Austin, TX
> 
> 
>> On Oct 5, 2020, at 18:39, Yung, Douglas via llvm-commits <llvm-commits at lists.llvm.org <mailto:llvm-commits at lists.llvm.org>> wrote:
>> 
>> Hi Evandro,
>> 
>> The change you made in clang/test/Driver/riscv-cpus.c is failing on at least one upstream bot, can you take a look?
>> 
>> http://lab.llvm.org:8011/builders/clang-x86_64-debian-fast/builds/38179 <http://lab.llvm.org:8011/builders/clang-x86_64-debian-fast/builds/38179>
>> 
>> <stdin>:7:338: note: scanning from here
>> "/b/1/clang-x86_64-debian-fast/llvm.obj/bin/clang-12" "-cc1" "-triple" "riscv64" "-emit-obj" "-mrelax-all" "--mrelax-relocations" "-disable-free" "-main-file-name" "riscv-cpus.c" "-mrelocation-model" "static" "-mframe-pointer=all" "-fmath-errno" "-fno-rounding-math" "-mconstructor-aliases" "-nostdsysteminc" "-target-cpu" "sifive-e76" "-target-feature" "+m" "-target-feature" "+a" "-target-feature" "+f" "-target-feature" "+c" "-target-feature" "+relax" "-target-feature" "-save-restore" "-target-abi" "ilp32" "-msmall-data-limit" "8" "-fno-split-dwarf-inlining" "-debugger-tuning=gdb" "-resource-dir" "/b/1/clang-x86_64-debian-fast/llvm.obj/lib/clang/12.0.0" "-internal-isystem" "include" "-fdebug-compilation-dir" "/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/test/Driver" "-ferror-limit" "19" "-fno-signed-char" "-fgnuc-version=4.2.1" "-faddrsig" "-o" "riscv-cpus.o" "-x" "c" "/b/1/clang-x86_64-debian-fast/llvm.src/clang/test/Driver/riscv-cpus.c"
>>                                                                                                                                                                                                                                                                                                                                                 ^
>> 
>> Input file: <stdin>
>> Check file: /b/1/clang-x86_64-debian-fast/llvm.src/clang/test/Driver/riscv-cpus.c
>> 
>> -dump-input=help explains the following input dump.
>> 
>> Input was:
>> <<<<<<
>>          1: clang version 12.0.0 (/b/1/clang-x86_64-debian-fast/llvm.src/clang 5d6d8a2769b3a91fd65b125c2cda64ea27a894bf)
>>          2: Target: riscv64
>>          3: Thread model: posix
>>          4: InstalledDir: /b/1/clang-x86_64-debian-fast/llvm.obj/bin
>>          5: clang-12: error: the clang compiler does not support '-mcpu=sifive-e76'
>>          6:  (in-process)
>>          7:  "/b/1/clang-x86_64-debian-fast/llvm.obj/bin/clang-12" "-cc1" "-triple" "riscv64" "-emit-obj" "-mrelax-all" "--mrelax-relocations" "-disable-free" "-main-file-name" "riscv-cpus.c" "-mrelocation-model" "static" "-mframe-pointer=all" "-fmath-errno" "-fno-rounding-math" "-mconstructor-aliases" "-nostdsysteminc" "-target-cpu" "sifive-e76" "-target-feature" "+m" "-target-feature" "+a" "-target-feature" "+f" "-target-feature" "+c" "-target-feature" "+relax" "-target-feature" "-save-restore" "-target-abi" "ilp32" "-msmall-data-limit" "8" "-fno-split-dwarf-inlining" "-debugger-tuning=gdb" "-resource-dir" "/b/1/clang-x86_64-debian-fast/llvm.obj/lib/clang/12.0.0" "-internal-isystem" "include" "-fdebug-compilation-dir" "/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/test/Driver" "-ferror-limit" "19" "-fno-signed-char" "-fgnuc-version=4.2.1" "-faddrsig" "-o" "riscv-cpus.o" "-x" "c" "/b/1/clang-x86_64-debian-fast/llvm.src/clang/test/Driver/riscv-cpus.c"
>> check:34
>> 
>> 
>> Douglas Yung


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201005/12431d58/attachment.html>


More information about the llvm-commits mailing list