[all-commits] [llvm/llvm-project] 1525ab: [FastISel] Don't use sizeWithoutDebug() for debug ...
Alexis Engelke via All-commits
all-commits at lists.llvm.org
Fri Aug 2 05:06:58 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1525abb9c94e7daa9295323b6649e289e0e91c7a
https://github.com/llvm/llvm-project/commit/1525abb9c94e7daa9295323b6649e289e0e91c7a
Author: Alexis Engelke <engelke at in.tum.de>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
M llvm/test/CodeGen/AArch64/fast-isel-branch-uncond-debug.ll
Log Message:
-----------
[FastISel] Don't use sizeWithoutDebug() for debug records (#101648)
sizeWithoutDebug() iterates over the entire block, but all we do is to
check whether the number is not equal to one. In times of debug records,
simply check whether the first and last instructions are equal.
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