diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2024-12-16 16:28:30 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2024-12-16 16:46:38 +0000 |
commit | 0954c67d7ae412af9f8da5149565d9af837ac575 (patch) | |
tree | 28b8983adb27492176b8747133401233bdaee190 /llvm/lib/Transforms/Utils/LoopVersioning.cpp | |
parent | 290f38cd1a9fa7b1a91ddb25632807ecb5308dc7 (diff) | |
download | llvm-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