Skip to content

Changes

Summary

  1. AArch64: Handle shift amount 0 (commit: 721d05f) (details)
Commit 721d05f9a78051217d4a941c5dbf6d968a534a9e by Kazuhiro Konno
AArch64: Handle shift amount 0

This code fixes shiftHelper() in AArch64 codegen.
It generates a mov instruction when the shift amount is 0 and the
reference count of the first child of a shift node is larger than 1.

Signed-off-by: KONNO Kazuhiro <konno@jp.ibm.com>
(commit: 721d05f)
The file was modified compiler/aarch64/codegen/BinaryEvaluator.cpp (diff)