[all-commits] [llvm/llvm-project] 3d5358: [InstCombine] Don't create bitcast when simplifyin...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Wed May 17 06:51:25 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3d53587901105ee6a4330d9fe8081adbe5e46f55
https://github.com/llvm/llvm-project/commit/3d53587901105ee6a4330d9fe8081adbe5e46f55
Author: Nikita Popov <npopov at redhat.com>
Date: 2023-05-17 (Wed, 17 May 2023)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
M llvm/test/Transforms/InstCombine/ptr-int-ptr-icmp.ll
Log Message:
-----------
[InstCombine] Don't create bitcast when simplifying round-trip
The bitcast was not being added to the worklist. I could switch
this to use the IRBuilder instead, but this bitcast is not relevant
with opaque pointers anyway, so just drop it entirely.
More information about the All-commits
mailing list