diff options
author | michaelrj-google <71531609+michaelrj-google@users.noreply.github.com> | 2024-01-31 13:25:49 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-31 13:25:49 -0800 |
commit | 22773e591fc3e585a32f8122eb203e50fcc1e441 (patch) | |
tree | 7f8e06a721d69418696c6ce8c269390db2760234 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | ebe8733a11e735bb9f5ca45ec752c2a416380c8d (diff) | |
download | llvm-22773e591fc3e585a32f8122eb203e50fcc1e441.zip llvm-22773e591fc3e585a32f8122eb203e50fcc1e441.tar.gz llvm-22773e591fc3e585a32f8122eb203e50fcc1e441.tar.bz2 |
[libc] Fix condition ordering in scanf (#80083)
The inf and nan string index bounds checks were after the index was
being used. This patch moves the index usage to the end of the
condition.
Fixes #79988
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions