[all-commits] [llvm/llvm-project] 25c654: [VectorCombine] add a debug flag to skip all trans...
RotateRight via All-commits
all-commits at lists.llvm.org
Wed Feb 26 12:16:28 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 25c6544f32eec4fd563f5531cec1d42b5c9c3e13
https://github.com/llvm/llvm-project/commit/25c6544f32eec4fd563f5531cec1d42b5c9c3e13
Author: Sanjay Patel <spatel at rotateright.com>
Date: 2020-02-26 (Wed, 26 Feb 2020)
Changed paths:
M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
Log Message:
-----------
[VectorCombine] add a debug flag to skip all transforms
As suggested in D75145 -
I'm not sure why, but several passes have this kind of disable/enable flag
implemented at the pass manager level. But that means we have to duplicate
the flag for both pass managers and add code to check the flag every time
the pass appears in the pipeline.
We want a debug option to see if this pass is misbehaving regardless of the
pass managers, so just add a disablement check at the single point before
any transforms run.
Differential Revision: https://reviews.llvm.org/D75204
More information about the All-commits
mailing list