[all-commits] [llvm/llvm-project] 72e599: [Flang]Fix another way to crash SimplifyIntrinsics
Mats Petersson via All-commits
all-commits at lists.llvm.org
Fri Aug 19 11:01:09 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 72e599197c77d95ca2e3c4a7ffe82b739981da75
https://github.com/llvm/llvm-project/commit/72e599197c77d95ca2e3c4a7ffe82b739981da75
Author: Mats Petersson <mats.petersson at arm.com>
Date: 2022-08-19 (Fri, 19 Aug 2022)
Changed paths:
M flang/lib/Optimizer/Transforms/SimplifyIntrinsics.cpp
M flang/test/Transforms/simplifyintrinsics.fir
Log Message:
-----------
[Flang]Fix another way to crash SimplifyIntrinsics
Under some conditions, the defining op may be NULL, so
accept that rahter than try to use it and crash!
Adds test to prevent regression
Fixes github issue #57201
Reviewed By: vzakhari
Differential Revision: https://reviews.llvm.org/D132238
More information about the All-commits
mailing list