aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2021-01-22 00:19:13 -0800
committerCraig Topper <craig.topper@sifive.com>2021-01-22 00:26:14 -0800
commitc953a8334707951d172e8061c8dc9054eb0c5c3f (patch)
tree4c48cc3b6457f6caae61f1fd560a21f15c61cea5 /clang/lib/Frontend/CompilerInvocation.cpp
parent75f10c957477b269d9b954a686231342aeb8004b (diff)
downloadllvm-c953a8334707951d172e8061c8dc9054eb0c5c3f.zip
llvm-c953a8334707951d172e8061c8dc9054eb0c5c3f.tar.gz
llvm-c953a8334707951d172e8061c8dc9054eb0c5c3f.tar.bz2
[TargetLowering] Use getBoolConstant instead of assuming zero or one for boolean contents.
Noticed while I was touching other nearby code. I don't have a test where this matters because the targets I work on use zero or one boolean contents. And the tests cases I've seen this fire on happen before type legalization where the result type is MVT::i1 so the distinction doesn't matter.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions