[all-commits] [llvm/llvm-project] 334a1c: [SandboxIR] createFunction() should always create ...
vporpo via All-commits
all-commits at lists.llvm.org
Mon Jan 27 20:16:52 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 334a1cdbfaafc5424c5932663728334d1cc46285
https://github.com/llvm/llvm-project/commit/334a1cdbfaafc5424c5932663728334d1cc46285
Author: vporpo <vporpodas at google.com>
Date: 2025-01-27 (Mon, 27 Jan 2025)
Changed paths:
M llvm/lib/SandboxIR/Context.cpp
M llvm/lib/Transforms/Vectorize/SandboxVectorizer/SandboxVectorizer.cpp
M llvm/unittests/SandboxIR/SandboxIRTest.cpp
Log Message:
-----------
[SandboxIR] createFunction() should always create a function (#124665)
This patch removes the assertion that checks for an existing function.
If one exists it will remove it and create a new one. This helps remove
a crash when a function declaration object already exists and we are
about to create a SandboxIR object for the definition.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list