[all-commits] [llvm/llvm-project] 8606e9: Revert "[InstCombine] Improve bswap + logic_op opt...
goldsteinn via All-commits
all-commits at lists.llvm.org
Sun May 7 22:56:00 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8606e91f2b7893d9f6ab65c1375af91caf44aa42
https://github.com/llvm/llvm-project/commit/8606e91f2b7893d9f6ab65c1375af91caf44aa42
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2023-05-08 (Mon, 08 May 2023)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
M llvm/test/Transforms/InstCombine/bswap-fold.ll
Log Message:
-----------
Revert "[InstCombine] Improve bswap + logic_op optimization"
The generic cast to `BinaryOperator` can break if `V` is not a
`BinaryOperator` (i.e a `ConstantExpr`). This occurs in things like
PPC linux build.
This reverts commit fe733f54da6faca95070b36b1640dbca3e43d396.
More information about the All-commits
mailing list