[all-commits] [llvm/llvm-project] 19ace4: [TargetLowering] Use SETCC input type to call getB...
topperc via All-commits
all-commits at lists.llvm.org
Sun Jan 5 23:16:08 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 19ace449a3da4058428495283b3b15826f8d7d34
https://github.com/llvm/llvm-project/commit/19ace449a3da4058428495283b3b15826f8d7d34
Author: Craig Topper <craig.topper at gmail.com>
Date: 2020-01-05 (Sun, 05 Jan 2020)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
Log Message:
-----------
[TargetLowering] Use SETCC input type to call getBooleanContents instead of the setcc result type.
This isn't a functonal change since we also check the bit width is the
same and the input type is integer. This guarantees the input and
output type are the same. But passing the input type makes the code
more readable.
More information about the All-commits
mailing list