HomePhabricator

[SystemZ::TTI] Improve cost for compare of i64 with extended i32 load

Description

[SystemZ::TTI] Improve cost for compare of i64 with extended i32 load

CGF/CLGF compares an i64 register with a sign/zero extended loaded i32 value
in memory.

This patch makes such a load considered foldable and so gets a 0 cost.

Review: Ulrich Weigand
https://reviews.llvm.org/D54944

Details

Committed
jonpaNov 28 2018, 12:58 AM
Parents
rL347734: [SystemZ::TTI] Improve costs for i16 add, sub and mul against memory.
Branches
Unknown
Tags
Unknown