aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorRahul Joshi <rjoshi@nvidia.com>2024-09-25 12:01:43 -0700
committerGitHub <noreply@github.com>2024-09-25 12:01:43 -0700
commit6786928c4fe1f9daf720d3b604987de2b013e70b (patch)
tree6019e52986dad7fa3b6440574413ab42db1df05d /llvm/lib/CodeGen/MachineFunction.cpp
parent2f43e65955565f92d3103b4bd57f17d02385d0e3 (diff)
downloadllvm-6786928c4fe1f9daf720d3b604987de2b013e70b.zip
llvm-6786928c4fe1f9daf720d3b604987de2b013e70b.tar.gz
llvm-6786928c4fe1f9daf720d3b604987de2b013e70b.tar.bz2
[Core] Skip over target name in intrinsic name lookup (#109971)
When searching for an intrinsic name in a target specific slice of the intrinsic name table, skip over the target prefix. For such cases, currently the first loop iteration in `lookupLLVMIntrinsicByName` does nothing (i.e., `Low` and `High` stay unchanged and it does not shrink down the search window), so we can skip this useless first iteration by skipping over the target prefix.
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions