[all-commits] [llvm/llvm-project] f676e8: [TableGen] Fix operand constraint checking problem...
Jason Eckhardt via All-commits
all-commits at lists.llvm.org
Wed Mar 20 11:33:01 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f676e84bba016157f5879fa66d86737ac8920c4b
https://github.com/llvm/llvm-project/commit/f676e84bba016157f5879fa66d86737ac8920c4b
Author: Jason Eckhardt <jeckhardt at nvidia.com>
Date: 2024-03-20 (Wed, 20 Mar 2024)
Changed paths:
M llvm/test/TableGen/ConstraintChecking3.td
A llvm/test/TableGen/ConstraintChecking8.td
M llvm/utils/TableGen/CodeGenInstruction.cpp
Log Message:
-----------
[TableGen] Fix operand constraint checking problem. (#85859)
Currently operand constraint checks on "$dest = $src" are inadvertently
accepting any token that contains "=". This has surprising results, e.g,
"$dest != $src" is accepted as a constraint but then treated as "=".
This patch ensures that only exactly the token "=" is accepted.
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