[all-commits] [llvm/llvm-project] 2d67a8: [SCEVExpander] Use IntToPtr for temporary instruct...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Tue Jan 11 01:40:54 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2d67a86b7c14a4f3686e50608a80adb5e7b5cb92
https://github.com/llvm/llvm-project/commit/2d67a86b7c14a4f3686e50608a80adb5e7b5cb92
Author: Florian Hahn <flo at fhahn.com>
Date: 2022-01-11 (Tue, 11 Jan 2022)
Changed paths:
M llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
Log Message:
-----------
[SCEVExpander] Use IntToPtr for temporary instruction.
Use PtrToInt instead Add when creating temporary instructions. The add
might get folded away with more sophisticated folding.
More information about the All-commits
mailing list