GlobalISel: Fix a failing combiner test
authorVolkan Keles <vkeles@apple.com>
Tue, 15 Sep 2020 23:40:38 +0000 (16:40 -0700)
committerVolkan Keles <vkeles@apple.com>
Tue, 15 Sep 2020 23:40:38 +0000 (16:40 -0700)
commit79378b1b757d5c981e60320f5a735f3e356557a0
tree23efb1016b8deec9348bbdd96fdf7d97ed0b6ba9
parent50ee05ab65db2ab262436ee0f92f7888607a89f3
GlobalISel: Fix a failing combiner test

test/CodeGen/AArch64/GlobalISel/combine-trunc.mir was failing
due to the different order for evaluating function arguments.
This patch updates the related code to fix the issue.
llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp