[all-commits] [llvm/llvm-project] 95ce8f: [LegalizeTypes] In PromoteFloatOp_SETCC, don't bot...
topperc via All-commits
all-commits at lists.llvm.org
Sat Dec 14 15:05:38 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 95ce8f94986c7d246c381757f6afbc00fe7bdbfb
https://github.com/llvm/llvm-project/commit/95ce8f94986c7d246c381757f6afbc00fe7bdbfb
Author: Craig Topper <craig.topper at gmail.com>
Date: 2019-12-14 (Sat, 14 Dec 2019)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
Log Message:
-----------
[LegalizeTypes] In PromoteFloatOp_SETCC, don't both querying for transforming the result type.
The result type is already legal, is doesnt' need to be
transformed.
Commit: 1dc0c8af5e7d330bcbe23e4d88502e6b7f5135b8
https://github.com/llvm/llvm-project/commit/1dc0c8af5e7d330bcbe23e4d88502e6b7f5135b8
Author: Craig Topper <craig.topper at gmail.com>
Date: 2019-12-14 (Sat, 14 Dec 2019)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
M llvm/test/CodeGen/X86/atomic32.ll
Log Message:
-----------
[LegalizeTypes] Teach BitcastToInt_ATOMIC_SWAP to only create FP16_TO_FP when called from PromoteFloatResult.
There's also a call from SoftenFloatResult that should not be promoted.
The change test case would fail with the new RUN line prior to
this change.
Compare: https://github.com/llvm/llvm-project/compare/357e64e95267...1dc0c8af5e7d
More information about the All-commits
mailing list