File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 407407
408408// -march=unset erases previous march
409409// RUN: %clang --target=riscv32 -### -c %s 2>&1 -march=rv32imc -march=unset -mcpu=sifive-e31 | FileCheck -check-prefix=MARCH-UNSET %s
410- // MARCH-UNSET: "-nostdsysteminc" "-target-cpu" "sifive-e31" "-target-feature" "+m" "-target-feature" "+a" "-target-feature" "+c"
410+ // MARCH-UNSET: "-nostdsysteminc" "-target-cpu" "sifive-e31"
411+ // MARCH-UNSET: "-target-feature" "+m"
412+ // MARCH-UNSET: "-target-feature" "+a"
413+ // MARCH-UNSET: "-target-feature" "+c"
411414// MARCH-UNSET-SAME: "-target-abi" "ilp32"
412415
413416// Check interaction between -mcpu and mtune, -mtune won't affect arch related
Original file line number Diff line number Diff line change 7474! CHECK-X86_64H-SAME: "-target-cpu" "x86-64" "-target-feature" "-rdrnd" "-target-feature" "-aes" "-target-feature" "-pclmul" "-target-feature" "-rtm" "-target-feature" "-fsgsbase"
7575
7676! CHECK-RV64: "-fc1" "-triple" "riscv64-unknown-linux-gnu"
77- ! CHECK-RV64-SAME: "-target-cpu" "generic-rv64" "-target-feature" "+m" "-target-feature" "+a" "-target-feature" "+f" "-target-feature" "+d" "-target-feature" "+c"
77+ ! CHECK-RV64-SAME: "-target-cpu" "generic-rv64" "-target-feature" "+i" "-target-feature" "+ m" "-target-feature" "+a" "-target-feature" "+f" "-target-feature" "+d" "-target-feature" "+c"
7878
7979! CHECK-AMDGPU: "-fc1" "-triple" "amdgcn-amd-amdhsa"
8080! CHECK-AMDGPU-SAME: "-target-cpu" "gfx908"
You can’t perform that action at this time.
0 commit comments