summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/strings/basic.string/string.ops/string_substr/substr.pass.cpp
diff options
context:
space:
mode:
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>2019-02-27 00:18:28 +0000
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>2019-02-27 00:18:28 +0000
commit129826cd9fb5a86ad1d92eeb1b933a2c82e2721f (patch)
treefd6e29cda1aeed7089d33497ec96d2727abc827a /libcxx/test/std/strings/basic.string/string.ops/string_substr/substr.pass.cpp
parent427aeb3ad2306bbf32afa1ebfdb8587767b40c00 (diff)
downloadbcm5719-llvm-129826cd9fb5a86ad1d92eeb1b933a2c82e2721f.tar.gz
bcm5719-llvm-129826cd9fb5a86ad1d92eeb1b933a2c82e2721f.zip
[SystemZ] Pass regalloc hints to help Load-and-Test transformations.
Since there is no "Load-and-Test-High" instruction, the 32 bit load of a register to be compared with 0 can only be implemented with LT if the virtual GRX32 register ends up in a low part (GR32 register). This patch detects these cases and passes the GR32 registers (low parts) as (soft) hints in getRegAllocationHints(). Review: Ulrich Weigand. llvm-svn: 354935
Diffstat (limited to 'libcxx/test/std/strings/basic.string/string.ops/string_substr/substr.pass.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud