aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/StringRef.cpp
diff options
context:
space:
mode:
authordarkbuck <michael.hliao@gmail.com>2024-01-11 22:41:55 -0500
committerGitHub <noreply@github.com>2024-01-12 10:41:55 +0700
commit54c19546ba6ffd24a3bcb0c0d145309ed6f8ce46 (patch)
tree8c4aef54eeecc5908bc9188fce1914d38dee4d68 /llvm/lib/Support/StringRef.cpp
parenta2af3742847899070322f15d6cefb7e9c738f40d (diff)
downloadllvm-54c19546ba6ffd24a3bcb0c0d145309ed6f8ce46.zip
llvm-54c19546ba6ffd24a3bcb0c0d145309ed6f8ce46.tar.gz
llvm-54c19546ba6ffd24a3bcb0c0d145309ed6f8ce46.tar.bz2
[GlobalISel] Revise 'assignCustomValue' interface (#77824)
- Previously, 'assignCustomValue' requests the number of assigned VAs minus 1 is returned and treats 0 as the assignment failure. However, under that arrangment, we cannot tell a successful *single* VA custom assignment from the failure case. - This change requests that 'assignCustomValue' just return the number of all VAs assigned, including the first WA so that it won't be ambigous to tell the failure case from the single VA custom assignment.
Diffstat (limited to 'llvm/lib/Support/StringRef.cpp')
0 files changed, 0 insertions, 0 deletions