[all-commits] [llvm/llvm-project] 243df8: [LICM] Fix assert failure in no-allowspeculation mode
Nikita Popov via All-commits
all-commits at lists.llvm.org
Tue Apr 11 02:56:11 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 243df834c6ae8b80441d8348368935b253c1be45
https://github.com/llvm/llvm-project/commit/243df834c6ae8b80441d8348368935b253c1be45
Author: Nikita Popov <npopov at redhat.com>
Date: 2023-04-11 (Tue, 11 Apr 2023)
Changed paths:
M llvm/lib/Transforms/Scalar/LICM.cpp
M llvm/test/Transforms/LICM/gep-reassociate.ll
Log Message:
-----------
[LICM] Fix assert failure in no-allowspeculation mode
In this case the source GEP might not be hoisted even though it
has invariant operands. For now just bail out, but we might need
additional checks for AllowSpeculation in these special-case
reassociation folds.
More information about the All-commits
mailing list