文件最后提交记录最后更新时间
[flang][driver] Switch to the MLIR coding style in the driver (nfc) This patch re-factors the driver code in LLVM Flang (frontend + compiler) to use the MLIR style. For more context, please see: https://discourse.llvm.org/t/rfc-coding-style-in-the-driver/ Most changes here are rather self-explanatory. Accessors are renamed to be more consistent with the rest of LLVM (e.g. allSource --> getAllSources). Additionally, MLIR clang-tidy files are added in the affected directories. clang-tidy and clang-format files were copied from MLIR. Small additional changes are made to silence clang-tidy/clang-format warnings. [1] https://mlir.llvm.org/getting_started/DeveloperGuide/ Differential Revision: https://reviews.llvm.org/D1250074 年前
[flang][re-apply] Fix seg fault CodeGenAction::executeAction() (#78672) If generateLLVMIR() fails, we still continue using the module we failed to generate which causes a seg fault if LLVM code-gen failed for some reason or another. This commit fixes this issue. Re-applies PR #78269 and adds LLVM and MLIR dependencies that were missed in the PR. The missing libs were: LLVMCore & MLIRIR. This reverts commit 4fc75062745eb5232ea60c37b9ffe61177efa12a.2 年前
[flang][re-apply] Fix seg fault CodeGenAction::executeAction() (#78672) If generateLLVMIR() fails, we still continue using the module we failed to generate which causes a seg fault if LLVM code-gen failed for some reason or another. This commit fixes this issue. Re-applies PR #78269 and adds LLVM and MLIR dependencies that were missed in the PR. The missing libs were: LLVMCore & MLIRIR. This reverts commit 4fc75062745eb5232ea60c37b9ffe61177efa12a.2 年前
[flang] Use StringRef::{starts,ends}_with (NFC) This patch replaces uses of StringRef::{starts,ends}with with StringRef::{starts,ends}_with for consistency with std::{string,string_view}::{starts,ends}_with in C++20. I'm planning to deprecate and eventually remove StringRef::{starts,ends}with.2 年前
[flang][preprocessing] Mix preprocessing directives with free form li… (#96244) …ne continuation Allow preprocessing directives to appear between a source line and its continuation, including conditional compilation directives (#if, #ifdef, &c.). Fixes https://github.com/llvm/llvm-project/issues/95476.1 年前