aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineOperand.cpp
diff options
context:
space:
mode:
authorRiver Riddle <riddleriver@gmail.com>2022-09-12 18:42:08 -0700
committerRiver Riddle <riddleriver@gmail.com>2022-09-13 11:39:20 -0700
commit9e0900cbf1cbc2b8366df66a562bf031c8a2b8db (patch)
tree7eebc6c8dd96da19b0c414a6661f35f4419b5b22 /llvm/lib/CodeGen/MachineOperand.cpp
parent34300ee3697e32926e998d1036925d0f59ffae02 (diff)
downloadllvm-9e0900cbf1cbc2b8366df66a562bf031c8a2b8db.zip
llvm-9e0900cbf1cbc2b8366df66a562bf031c8a2b8db.tar.gz
llvm-9e0900cbf1cbc2b8366df66a562bf031c8a2b8db.tar.bz2
[mlir] Fix DenseElementsAttr treatment of bool splat of "true"
Boolean splats currently can't roundtrip via the "raw" DenseElementsAttr API. This is because internally we treat true splats in some cases as "1"(one bit set) and in other cases as "0xFF"(all bits set). This commit cleans up this handling to consistently use 0xFF (all bits set) as the value for a splat of true. Differential Revision: https://reviews.llvm.org/D133743
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions