aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopVersioning.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2024-12-16 16:28:30 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2024-12-16 16:46:38 +0000
commit0954c67d7ae412af9f8da5149565d9af837ac575 (patch)
tree28b8983adb27492176b8747133401233bdaee190 /llvm/lib/Transforms/Utils/LoopVersioning.cpp
parent290f38cd1a9fa7b1a91ddb25632807ecb5308dc7 (diff)
downloadllvm-0954c67d7ae412af9f8da5149565d9af837ac575.zip
llvm-0954c67d7ae412af9f8da5149565d9af837ac575.tar.gz
llvm-0954c67d7ae412af9f8da5149565d9af837ac575.tar.bz2
[DAG] visitFREEZE - only fold integer types to an all ones constant
ISD::isBuildVectorAllOnes can peek through bitcasts, so this can match against FP NAN (ish) data (e.g. double (bitcast i64 -1)) under certain circumstances - bail if the type isn't an integer and let bitcast folding handle it first. Fixes #120093
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopVersioning.cpp')
0 files changed, 0 insertions, 0 deletions