Skip to content

Commit 59422fe

Browse files
author
Thorsten Schütt
committed
remove return true;
1 parent 2fdf196 commit 59422fe

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/include/llvm/Target/GlobalISel/Combine.td

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1860,8 +1860,7 @@ def integer_of_truncate : integer_of_opcode<G_TRUNC>;
18601860
def anyext_undef: GICombineRule<
18611861
(defs root:$root),
18621862
(match (G_IMPLICIT_DEF $undef),
1863-
(G_ANYEXT $root, $undef):$Aext,
1864-
[{ return true; }]),
1863+
(G_ANYEXT $root, $undef):$Aext),
18651864
(apply [{ Helper.replaceInstWithUndef(*${Aext}); }])>;
18661865

18671866
def zext_undef: GICombineRule<

0 commit comments

Comments
 (0)