aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Frontend/CompilerInvocationTest.cpp
diff options
context:
space:
mode:
authorDavid Green <david.green@arm.com>2024-12-13 11:02:55 +0000
committerDavid Green <david.green@arm.com>2024-12-13 11:02:55 +0000
commit94a77ebe240eb7dff7c5d645fc7f60cce049783f (patch)
tree26f28526e8c60ad8cf0fe43e0ff419fada098618 /clang/unittests/Frontend/CompilerInvocationTest.cpp
parent217e0f39710dec3348c996ecf98a76fd08b69853 (diff)
downloadllvm-94a77ebe240eb7dff7c5d645fc7f60cce049783f.zip
llvm-94a77ebe240eb7dff7c5d645fc7f60cce049783f.tar.gz
llvm-94a77ebe240eb7dff7c5d645fc7f60cce049783f.tar.bz2
[AArch64][GlobalISel] Guard against no operands in matchHoistLogicOpWithSameOpcodeHands
In case both LeftHandInst and RightHandInst are IMPLICIT_DEF with no input operands, this patch protects against the post-legalizer-combiner matchHoistLogicOpWithSameOpcodeHands with no operands. The prelegalizercombiner-hoist-same-hands.mir test was cleaned up a little in the process, and has a post-legalizer run line added so that the implicit_def do not get folded awwy.
Diffstat (limited to 'clang/unittests/Frontend/CompilerInvocationTest.cpp')
0 files changed, 0 insertions, 0 deletions