aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorRiver Riddle <riddleriver@gmail.com>2020-06-02 18:20:38 -0700
committerRiver Riddle <riddleriver@gmail.com>2020-06-04 16:41:24 -0700
commitc0cd1f1c5cc97e0c90727b3e4d5f52dd6a7aae55 (patch)
tree0e0efe703d8bb31167e62359a71c69abca4b8857 /clang/lib/CodeGen/CodeGenModule.cpp
parentfa42620afbbd5736777d5bfe4a1beab1ce4c6606 (diff)
downloadllvm-c0cd1f1c5cc97e0c90727b3e4d5f52dd6a7aae55.zip
llvm-c0cd1f1c5cc97e0c90727b3e4d5f52dd6a7aae55.tar.gz
llvm-c0cd1f1c5cc97e0c90727b3e4d5f52dd6a7aae55.tar.bz2
[mlir] Refactor BoolAttr to be a special case of IntegerAttr
This simplifies a lot of handling of BoolAttr/IntegerAttr. For example, a lot of places currently have to handle both IntegerAttr and BoolAttr. In other places, a decision is made to pick one which can lead to surprising results for users. For example, DenseElementsAttr currently uses BoolAttr for i1 even if the user initialized it with an Array of i1 IntegerAttrs. Differential Revision: https://reviews.llvm.org/D81047
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions