aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorFelix Schneider <fx.schn@gmail.com>2024-03-19 10:43:02 +0100
committerGitHub <noreply@github.com>2024-03-19 10:43:02 +0100
commita4b23638d23d603001c19285a7c7535a8ce81317 (patch)
treeda95a8e5704b5d4ca6062bbc4a5e51b4cc8d0ed6 /flang/lib/Frontend/CompilerInvocation.cpp
parent5e379b63fcd942017593d278c8c2313744413904 (diff)
downloadllvm-a4b23638d23d603001c19285a7c7535a8ce81317.zip
llvm-a4b23638d23d603001c19285a7c7535a8ce81317.tar.gz
llvm-a4b23638d23d603001c19285a7c7535a8ce81317.tar.bz2
[mlir] Don't assert when simplifying certain `AffineExpr`s (#78855)
Currently, `simplifyMul()` asserts that either `lhs` or `rhs` is symbolic or constant. This method is called by the overloaded `*` operator for `AffineExpr`s which leads to a crash when building a multiplication expression where neither operand is symbolic or constant. This patch returns a `nullptr` from `simplifyMul()` to signal that the expression could not be simplified instead. Fix https://github.com/llvm/llvm-project/issues/75770
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions