Pulled out from D90479 - this recognises invalid nsw shl patterns with signbit changes that result in poison.
Details
Details
Diff Detail
Diff Detail
- Repository
 - rG LLVM Github Monorepo
 
Paths 
  |  Differential  D97305  
[InstSimplify] Handle nsw shl -> poison patterns ClosedPublic Authored by RKSimon on Feb 23 2021, 9:34 AM. 
Details Summary Pulled out from D90479 - this recognises invalid nsw shl patterns with signbit changes that result in poison. 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Feb 23 2021, 9:56 AM This revision was landed with ongoing or failed builds.Feb 23 2021, 10:27 AM Closed by commit rG1020d161565d: [InstSimplify] Handle nsw shl -> poison patterns (authored by RKSimon).  ·  Explain Why This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 325832 llvm/lib/Analysis/InstructionSimplify.cpp
 llvm/test/Transforms/InstCombine/known-signbit-shift.ll
 llvm/test/Transforms/InstSimplify/icmp-constant.ll
  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
NFC, please precommit