[all-commits] [llvm/llvm-project] 2523fe: [X86] Add second PR47603 test case
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Mon Apr 5 03:40:59 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2523fe8a6895ee3affe0bdb04629451279dd97e4
https://github.com/llvm/llvm-project/commit/2523fe8a6895ee3affe0bdb04629451279dd97e4
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2021-04-05 (Mon, 05 Apr 2021)
Changed paths:
M llvm/test/CodeGen/X86/clz.ll
Log Message:
-----------
[X86] Add second PR47603 test case
We had coverage for the xor(trunc(xor(x,31)),31) case but not xor(zext(xor(x,31)),31)
Commit: 36d4f6d7f8ad08bb99da544f2b6ca96e34977839
https://github.com/llvm/llvm-project/commit/36d4f6d7f8ad08bb99da544f2b6ca96e34977839
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2021-04-05 (Mon, 05 Apr 2021)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/clz.ll
Log Message:
-----------
[X86] Fold xor(zext(xor(x,c1)),c2) -> xor(zext(x),xor(zext(c1),c2))
Fixes PR47603 (second case) by extending rG89afec348dbd3e5078f176e978971ee2d3b5dec8
Compare: https://github.com/llvm/llvm-project/compare/4dd3e0feca92...36d4f6d7f8ad
More information about the All-commits
mailing list