SuccessChanges

Summary

  1. [MC] Allow .cfi_sections with empty section list (details)
  2. [RISCV] Add test cases for fixed vector extract element with non-constant index. NFC (details)
  3. [Driver] Don't pass -ffile-compilation-dir through to cc1 (details)
Commit 880c9c56c1172418853cc81eeced492b4f0cefc2 by i
[MC] Allow .cfi_sections with empty section list

GNU as supports this. This mode silently ignores
.cfi_startproc/.cfi_endproc and .cfi_* in between.

Also drop a diagnostic `in '.cfi_sections' directive`: the diagnostic
already includes the line and it is clear the line is a `.cfi_sections` directive.
The file was modifiedllvm/lib/MC/MCParser/AsmParser.cpp (diff)
The file was modifiedllvm/test/MC/ELF/cfi.s (diff)
The file was addedllvm/test/MC/ELF/cfi-sections-empty.s
The file was modifiedllvm/lib/MC/MCStreamer.cpp (diff)
Commit a3beae6171ff1982cc2e1eafdc0fbfcab992577a by craig.topper
[RISCV] Add test cases for fixed vector extract element with non-constant index. NFC
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-extract.ll (diff)
Commit bf6380c0966b26a2aec7f2072efd0a1a9b6328f2 by phosek
[Driver] Don't pass -ffile-compilation-dir through to cc1

This is a driver only flag so it has to be expanded when invoking cc1.

Differential Revision: https://reviews.llvm.org/D97528
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp (diff)
The file was modifiedclang/test/Driver/clang_f_opts.c (diff)